You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt Milliss <ma...@gmail.com> on 2009/10/13 03:24:50 UTC
release branch not working as expected
I'm having trouble getting the maven-release-plugin to work in a
non-interactive way. I'm trying to create a branch with the version
09.20.01-SNAPSHOT from the trunk version 09.20.00-SNAPSHOT.
I'm using the following command to branch manually,
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 thought the following command would have the same effect but the
branch is created with the 09.20.00-SNAPSHOT not the 09.20.01-SNAPSHOT
version specified in the 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 a bug in the 2.0-beta-9 of the release plugin that I'm using or
am I doing something wrong? Any help would be appreciated.
I am using 2.0-beta-9 of the release plugin and my environment is
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"
Regards
Matt