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
source
share