When perform release I try to store the value of ${scmBranch} from buildnumber-maven-plugin to MANIFEST.MF file in my jar. But value is "UNKNOWN" and
.../target/checkout/git branch
say:
* (no branch)
revision same as tag revision.
What to do with it?
Change release goals to
-Dresume=false release:prepare release:perform -Darguments='-DscmBranch=${BRANCH}'
solve problem.