Details
-
Bug
-
Status: Closed
-
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.
Attachments
Issue Links
- causes
-
MRELEASE-1154 [REGRESSION] MRELEASE-1109 breaks release of Maven Surefire
- Resolved
-
MRELEASE-1151 [REGRESSION] Maven Release Plugin fails to adjust version
- Closed
-
MRELEASE-1153 Revert parts of MRELEASE-1109 (8dfcb47996320af5e6f0b2d50eac209eeb4c29ce) due to a regression
- Closed
- links to