To answer my own question: <scmVersion>branch_name</scmVersion> <scmVersionType>branch</scmVersionType>
Could we add that to example documentation on maven.apache.org? Thanks, Dave On Fri, Jun 4, 2010 at 9:32 AM, D D <[email protected]> wrote: > Hello. > > I have a peculiar problem with cvs/M2 - it ignores <tag> element during > checkout and always goes for the head. > > I modeled my settings after pom reference found here > http://maven.apache.org/pom.html#SCM > > Someone else had similar problem 2 years back and Wayne tried to help > however the thread was left unfinished. > > Here is my pom snippet: > <scm> > <connection>scm:cvs:pserver:u...@server > :/my/path:ProjectName</connection> > <tag>ProjectNameTag</tag> > </scm> > > I tried using mvn 'scm:checkout' - I get the HEAD revision. > Using 'mvn -Dscm.tag=ProjectNameTag scm:checkout didn't help either. > > Your help will be greatly appreciated. > > Thanks, > Dave >
