1

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?

burtsevyg
  • 3,851
  • 2
  • 29
  • 44

1 Answers1

1

Change release goals to

-Dresume=false release:prepare release:perform -Darguments='-DscmBranch=${BRANCH}'

solve problem.

burtsevyg
  • 3,851
  • 2
  • 29
  • 44