Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.3, 3.0.0-M7
-
None
Description
Given: a project using CI-friendly versions as per https://maven.apache.org/maven-ci-friendly.html
<version>${revision}</version> ... <properties> <revision>1.0.0-SNAPSHOT</revision> </properties>
If I run mvn release:update-versions (with or without -DautoVersionSubmodules=true) I expect the release plugin to change the $revision property. Instead it blindly replaces <version>${revision}</version> with the hard-coded version set on the CLI.