WrenSecurity/wrenidm

Forgerock/master in version prompt

krystofNovotny opened this issue · 2 comments

After idm starts, there is still forgerock/master-2016 in stdout

>OpenIDM ready
>OpenIDM version "6.0.0" (revision: bf8074c) forgerock/master-2016 master

I created the release with mvn release:prepare / mvn release:perform. Not sure at which point git-commit-id-maven-plugin resolves it's properties and at which point maven-release-plugin actually performs SCM tagging.

Should be fairly easy to create empty project and test stuff there.

We did some digging with @pavelhoral, and we know the cause.
When maven-release-plugin is executing release:prepare

  1. (...) Project gets compiled
  2. maven-injection-plugin injects latest tag into ServerConstants
  3. new tag is created - this one should have been injected, but the injection already happened