You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by goatwuss <hi...@gmail.com> on 2006/10/27 15:25:52 UTC
Re: Maven Noobie - Call CVS with the date (-D) parameter to
checkout by
Hi
In this case, I need to use the date.
Is there any way to do this?
Thanks
Siegfried Goeschl wrote:
>
> Hi,
>
> using a -D <date> is rather fragile - did you consider using a tag
> created by the CC build and use the tag instead of the date?
>
> Cheers,
>
> Siegfried Goeschl
>
> goatwuss wrote:
>> Hello
>>
>> I am trying to use maven to checkout some code from cvs using the date
>> parameter. I would like to check out the code at a specific date. The
>> cvs
>> command line argument is -D <date>
>>
>> I am looking at the maven scm plugin documentation,
>> (http://maven.apache.org/scm/plugins/checkout-mojo.html)
>> and there is an optional tag parameter, but no date param available.
>>
>> How would I give this parameter to the checkout command?
>>
>> Also - the only way I can figure out how to get parameters to work is
>> command line. ie.
>>
>> mvn -DworkingDirectory="blah" scm:status
>>
>> I would like to put the parameter in my pom.xml somehow to use the same
>> working directory each time I run the status command. How do I do this?
>> All I have in my pom.xml regarding the scm plugin is:
>>
>> <scm>
>>
>> <connection>scm:cvs:local:/cvs:cruisecontrol/cruisecontrol</connection>
>> </scm>
>>
>> (I am testing with the cruisecontrol project)
>>
>> thank you!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Maven-Noobie---Call-CVS-with-the-date-%28-D%29-parameter-to-checkout-by-date-tf2514440.html#a7030186
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org