It doesn't seem to be possible to disable or set a zero length string for the dirty suffix.
I'm guessing this is because the plugin conflates an empty string with the default value, and also maven whitespace stripping is a consideration.
Current Behavior
Setting <dirty></dirty> still creates the dirty suffix on the git.commit.id.describe output.
Steps to Reproduce (for bugs only)
- Add untracked file to repo, check git describe:
git describe --dirty -> 1.0.0-dirty
- Attempt to disable dirty suffix with an empty string in config:
<gitDescribe>
<dirty></dirty>
</gitDescribe>
- Output of
git.commit.id.describe still includes dirty suffix.
Environment (for bugs only)
Plugin: 2.2.4
Maven 3.3.9
It doesn't seem to be possible to disable or set a zero length string for the
dirtysuffix.I'm guessing this is because the plugin conflates an empty string with the default value, and also maven whitespace stripping is a consideration.
Current Behavior
Setting
<dirty></dirty>still creates the dirty suffix on thegit.commit.id.describeoutput.Steps to Reproduce (for bugs only)
git describe --dirty->1.0.0-dirtygit.commit.id.describestill includes dirty suffix.Environment (for bugs only)
Plugin: 2.2.4
Maven 3.3.9