Creating a jira ticket at http://jira.codehaus.org/browse/SCM for this doc
enhancement is the best approach.

/Anders

On Fri, Jun 4, 2010 at 17:14, D D <dawi...@gmail.com> wrote:

> 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 <dawi...@gmail.com> 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
> >
>

Reply via email to