You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Emmanuel Venisse <em...@venisse.net> on 2006/05/31 14:51:02 UTC

Re: How to use mvn to check out from cvs?

mvn scm:checkout -DconnectionUrl=scm:cvs:....

Emmanuel

Marc Weber a écrit :
> Brief:
> How to check out a procect from cvs?
>   Do I need to create a pom.xml?
>   Con you give me a working commandline as I got errors?
> 
> 
> I want to use hibernate. As I don't know exactly how to configure the
> datasource when using annotations I want to install the latest source
> version from sourceforge and debug it. On the maven website I did found
> this source :
>   http://maven.apache.org/scm/scms-overview.html
> proposing using something like this:
>   Examples:
>   scm:cvs:pserver:anoncvs:@cvs.apache.org:/cvs/root:module
> 
> So I tried this:
> mvn -e scm:cvs:pserver:anonymous:@hibernate.cvs.sourceforge.net:/cvsroot/hibernate:Hibernate
> but got ERROR: 
>   "Invalid task 'scm:cvs:pserver:anonymous:@hibernate.cvs.sourceforge.net:/cvsroot/hibernate:Hibernate':
>   you must specify a valid lifecycle phase, or a goal in the format
>   plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal"
> 
> Is this for maven 2 ?
> I assume because I can't see the location indicator apache > Maven > Maven 1.x > .. on top of the page..
> 
> Marc Weber
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> 


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