I have the same question. What is the correct steps in order to create a branch from a tag using the release:branch goal?
Thank you, Jason Nick Stolwijk wrote: > > Can someone comment on this mail? Is the release:branch goal fitted to > create a branch from a tag and update the version numbers? > > With regards, > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tue 6/10/2008 11:15 > To: users@maven.apache.org > Subject: Release:branch from a tag > > I am trying to create a branch from a tag with the release plugin. I have > a checkout from trunk and try the following command: > > mvn release:branch -Dtag=TestProject-1.4 -DbranchName=TestProject-1.4.x s > -DupdateBranchVersions=true > > I was expecting that a branch (/branches/TestProject-1.4.x) was created > from a tag (/tags/TestProject-1.4) but it is created from the current > trunk (/trunk). It seems the -Dtag option doesn't do anything, because it > is creating a branch from the current trunk. Is it really necessary to > checkout a tag before branching it? I've looked at the ReleaseManager > source and it seems the tag option isn't considered at all. > > With regards, > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > -- View this message in context: http://www.nabble.com/Release%3Abranch-from-a-tag-tp17751076p18762978.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]