You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by S Maven <s....@yahoo.com> on 2007/11/06 16:36:11 UTC

scm checkout using pom

Greetings All,

Is it possible to just use the  scm:checkout plugin and its parameters and do a checkout by defining the required parameters in pom.xml?If so pls give an example using the attributes given below in the link:

ref link: http://maven.apache.org/scm/plugins/checkout-mojo.html

In the above link where should the required/optional  parameters go in pom.xml?Should they be child tags under <scm> </scm> tags.

Thanks,
caitanya

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: scm checkout using pom

Posted by Mark Struberg <st...@yahoo.de>.
you can ingest the scm parameters with the -D option
e.g.
mvn scm:checkout
-DconnectionUrl=scm:cvs:pserver:yourusername:yourpassword@cvs.server:/home/cvsroot:yourmodulename

this will get your module into ./target/checkout (you can also tune this with a -D parameter)

LieGrü,
strub

--- S Maven <s....@yahoo.com> schrieb:

> Greetings All,
> 
> Is it possible to just use the  scm:checkout plugin and its parameters and do a checkout by
> defining the required parameters in pom.xml?If so pls give an example using the attributes given
> below in the link:
> 
> ref link: http://maven.apache.org/scm/plugins/checkout-mojo.html
> 
> In the above link where should the required/optional  parameters go in pom.xml?Should they be
> child tags under <scm> </scm> tags.
> 
> Thanks,
> caitanya
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 



        __________________________________  Ihr erstes Baby? Holen Sie sich Tipps von anderen Eltern.  www.yahoo.de/clever

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org