I have a project on a particular version eg 09.20.00-SNAPSHOT I want to create a branch so I run the following command;

mvn release:branch -DbranchName=09.20.00_BRANCH -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false

and when prompted for the branch version I enter 09.20.01-SNAPSHOT, this works as expected and the branch is created with the version 09.20.01-SNAPSHOT.

Now I want to automate this process and try the following command;

mvn release:branch -DbranchName=09.20.00_BRANCH -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -Dproject.rel.net.moneyswitch:extranet=09.20.01-SNAPSHOT --batch-mode

is this case the branch is created but the version is still at 09.20.00-SNAPSHOT not 09.20.01-SNAPSHOT as expected. I found these instructions here http://maven.apache.org/plugins/maven-release-plugin/examples/branch.html, am I misunderstanding how this goal is meant to work.

Regards
Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to