maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <>
Subject Re: Maven Noobie - Call CVS with the date (-D) parameter to checkout by date
Date Fri, 27 Oct 2006 11:19:59 GMT

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?


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,
> (
> 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:
For additional commands, e-mail:

View raw message