[MRELEASE-1109] update-versions removes the CI-friendly ${revisions} (original) (raw)

Given: a project using CI-friendly versions as per https://maven.apache.org/maven-ci-friendly.html

  ${revision}   ...       1.0.0-SNAPSHOT  

If I run mvn release:update-versions (with or without -DautoVersionSubmodules=true) I expect the release plugin to change the revisionproperty.Insteaditblindlyreplaces<version>revision property. Instead it blindly replaces <version>revisionproperty.Insteaditblindlyreplaces<version>{revision} with the hard-coded version set on the CLI.

causes

Bug - A problem which impairs or prevents the functions of the product. MRELEASE-1154 [REGRESSION] MRELEASE-1109 breaks release of Maven Surefire

Bug - A problem which impairs or prevents the functions of the product. MRELEASE-1151 [REGRESSION] Maven Release Plugin fails to adjust version

Task - A task that needs to be done. MRELEASE-1153 Revert parts of MRELEASE-1109 (8dfcb47996320af5e6f0b2d50eac209eeb4c29ce) due to a regression

links to

(1 links to)