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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
