> > "Ringo De Smet" <[email protected]> wrote in message > news:[email protected]... > Eric, > > 2009/3/16 Eric B. <[email protected]>: > > Hi, > > > > How can I use the release:perform goal in the maven-release-plugin to > > build > > my module located in a CVS branch? > > > > I have tried mvn release:perform -DtagBase=B_2_0_0 hoping / expect that > > it > > would pass the tagBase command along to CVS to checkout the sources from > > that tag. Unfortunately, it doesn't: > > > > From the maven-release-plugin docs, I deduce that tagBase is only used > when your SCM is Subversion. I have never had any problems so far with > making a release on a CVS branch.
I came to the same conclusion as well. I looked through the plugin code, and only found that tagBase is used for SVN as well; the scmVersion and scmVersionType aren't used by the release plugin. > How did you create the tag? You ran > mvn release:prepare right? If you ran it and it is successfull, you > should be able to just run mvn release:perform without any further > arguments. The release plugin should pickup all the required release > information from the file release.properties created by the prepare > step. I think that might be where my problem / confusion lies. In the past, I would always tag my code, then checkout without any cvs tracking information and build from that. I think my problem is that I am still trying to do the same thing, hoping / expecting that the plugin would be able to prepare/perform from a given tag, and not necesarily from a sandbox. Thanks, Eric --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
