Hi, I'm trying to make a branch from a tag in batch mode using the release plugin. The pom in the tag has its version set to 0.2.0. I would like for the branch version to be 0.2.1-SNAPSHOT, however when I use the plugin it always sets the branch version to 0.2.0-SNAPSHOT. However, in interactive mode I'm able to create the branch correctly. Here is the command I am executing:
mvn -B release:branch -DbranchName=testBranch-0.2.X -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -Dproject.rel.test.release_management:test-project=0.2.1 -Ptestprofile I have also tried: mvn -B release:branch -DbranchName=testBranch-0.2.X -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -Dproject.dev.test.release_management:test-project=0.2.1 -Ptestprofile and mvn -B release:branch -DbranchName=testBranch-0.2.X -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -Dproject.dev.test.release_management:test-project=0.2.1-SNAPSHOT -Ptestprofile They all yield a pom in the branch with its version set to 0.2.0-SNAPSHOT. Does anyone have any ideas? Thanks, Allan
