Maven release plugin property updateVersionsToSnapshot not applicable

I am trying to make a branch and install the maven version on the branch to the version without a snapshot.

When doing this interactively, everything is fine. But when launched in batch mode, the version on the branch will end in -SNAPSHOT, although I provide the "updateVersionsToSnapshot = false" property .

I run the following maven target:

mvn release:branch -B -DreleaseVersion=1.3 -DupdateVersionsToSnapshot=false 
-DremoteTagging=false -DsuppressCommitBeforeBranch=true 
-DbranchName=generated/release_1.3 -DupdateBranchVersions=true 
-DautoVersionSubmodules=true -DupdateWorkingCopyVersions=false -Dusername=myUserName

Any help is appreciated.

Regards Trim

+4
source share
1 answer

The issue you are describing is documented at https://issues.apache.org/jira/browse/MRELEASE-959

( ). , maven, ( ).

0

All Articles