maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject Re: Maven Noobie - Call CVS with the date (-D) parameter to checkout by date
Date Fri, 27 Oct 2006 11:19:59 GMT
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


Mime
View raw message