Thanks for the quick reply, Emmanuel. I upgraded to the beta-7 plugin version, and I am having better results.
What the plugin doco does specify is that the release:branch goal should be invoked from a checkout location with the revision/tag you want to branch from. (i.e. tags/<my_release_version>). I used the following commandline to create a maintenance branch (branches/myapp-1.3.1) from an existing tag location (tags/myapp-1.3): mvn release:branch -DbranchName=myapp-1.3.1 -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false The -DupdateBranchVersions flag pertains to the versions in the pom.xml - not the scm versions. If false, it will retain the same version as the tagged release; if true, it will prompt for a version, defaulting to a snapshot of the tagged release, which may or may not be what you want. Shea. Emmanuel Venisse wrote: > > It's a problem I fixed one week ago. It is actually in the new snapshot of > the release plugin deployed > > Emmanuel > > shea a écrit : >> Hello, >> >> I am trying to create a branch based on a release tag. The branch would >> be >> used for maintenance purposes. (I am using an svn scm provider with the >> standard layout) >> >> The release plugin doco doesn't indicate where I should be running the >> release:branch goal from... >> >> If I run it from the trunk, it creates a branch from the current >> development >> version, regardless of whether I give it -Dtag=<myrelease_version>. >> >> If I run it from a tag folder, it complains that I don't have a SNAPSHOT >> project in the reactor projects list. >> >> It makes sense to me that I should be able to do a release from a release >> tag folder, or from the trunk, (by providing a value for -Dtag=...). >> >> I ahve experiemented with -DupdateBranchVersions=true >> -DupdateWorkingCopyVersions=false, but the situation is no better. >> >> Does anyone have any thoughts on what I am doing wrong? >> >> This is actually just a simplistic test project with one artifact at this >> point before I try to apply this to my multi-module, JEE project. >> >> Thanks, >> >> Shea. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/creating-a-branch-from-a-tag-with-release%3Abranch-tf4197145s177.html#a11953201 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]