[ http://jira.codehaus.org/browse/MRELEASE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232796#action_232796 ]
Michael Wenig commented on MRELEASE-496: ---------------------------------------- This seems to be fixed in 2.0 with MRELEASE-377 > Branch not working in batch mode > -------------------------------- > > Key: MRELEASE-496 > URL: http://jira.codehaus.org/browse/MRELEASE-496 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: branch > Affects Versions: 2.0-beta-9 > Environment: Apache Maven 2.1.0 (r755702; 2009-03-19 06:10:27+1100) > Java version: 1.6.0_10 > Java home: /usr/java/jdk1.6.0_10/jre > Default locale: en_AU, platform encoding: UTF-8 > OS name: "linux" version: "2.6.30.8-64.fc11.x86_64" arch: "amd64" Family: > "unix" > Reporter: Matt Milliss > Attachments: patch_branch_version_defaults.txt > > > Creating a branch batch mode fails. > From a trunk version 09.20.00-SNAPSHOT I try to create a branch with the > version 09.20.01-SNAPSHOT. > The following command to branch in non-batch mode works fine, > mvn release:branch -DbranchName=09.20.00_BRANCH -DupdateBranchVersions=true > -DupdateWorkingCopyVersions=false > 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. > In batch mode the following command creates a branch with the same version as > trunk > mvn release:branch -DbranchName=09.20.00_BRANCH -DupdateBranchVersions=true > -DupdateWorkingCopyVersions=false > -Dproject.rel.my.org:myProject=09.20.01-SNAPSHOT --batch-mode -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira