Details
Description
When running the following
mvn org.apache.maven.plugins:maven-release-plugin:2.2:branch -DbranchName=ROOT_1.0_RB -DupdateBranchVersions=true -DautoVersionSubmodules=true -DdryRun=true -DreleaseVersion=1.0 -DdevelopmentVersion=1.1-SNAPSHOT
the branched pom.xml gets the version "1.0-SNAPSHOT" instead of expected "1.0" (please see attached poms for details). Trying to add -DupdateVersionsToSnapshot=false does not help either.
Side note: Did a run in interactive mode (by leaving out -DreleaseVersion=1.0 and -DdevelopmentVersion=1.1-SNAPSHOT, which produced an expected result where the submitted versions were reflected correctly in the pom-files.
Attachments
Attachments
Issue Links
- depends upon
-
MRELEASE-689 prepare uses SNAPSHOT tag names
- Closed
-
MRELEASE-691 tagNameFormat property interpolation does not use the release values but the project ones
- Closed