maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: Checking projects out of CVS
Date Wed, 18 Aug 2004 00:13:35 GMT
you need to use <maven:set plugin="maven-scm-plugin"
property="maven.scm.cvs.module" value="..." />

On Mon, 16 Aug 2004 23:05:27 -0700 (PDT), jeff mutonho
<ejbengine@yahoo.com> wrote:
> Hi guys
> 
> I checked a project(Project1) without problems from CVS using the following rules in
my maven.xml file:
> 
> <project default="mycontacts:build-all" xmlns:j="jelly:core" xmlns:m="jelly:maven">
>   <preGoal name="mycontacts:build-all">
>     <j:set var="maven.scm.cvs.module">Project1</j:set>
>     <attainGoal name="scm:cvs-checkout-project"/>
>     <j:set var="maven.scm.cvs.module">Project2</j:set>
>     <attainGoal name="scm:cvs-checkout-project"/>
>   </preGoal>
>   <goal name="mycontacts:build-all">
>     <!--m:reactor basedir="${basedir}"
>                includes="*/project.xml"
>                goals="mycontacts-dist"
>                banner="Building Project"
>                ignoreFailures="false"/-->
>   </goal>
> </project>
> 
> I have commented out the rule to checkout Project1 , but not Project2 and my maven.xml
file looks as shown below:
> 
> <project default="mycontacts:build-all" xmlns:j="jelly:core" xmlns:m="jelly:maven">
>   <preGoal name="mycontacts:build-all">
>     <!--j:set var="maven.scm.cvs.module">Project1</j:set-->
>     <!--attainGoal name="scm:cvs-checkout-project"/-->
>     <j:set var="maven.scm.cvs.module">Project2</j:set>
>     <attainGoal name="scm:cvs-checkout-project"/>
>   </preGoal>
>   <goal name="mycontacts:build-all">
>     <!--m:reactor basedir="${basedir}"
>                includes="*/project.xml"
>                goals="mycontacts-dist"
>                banner="Building Project"
>                ignoreFailures="false"/-->
>   </goal>
> </project>
> 
> When I run  "maven scm:checkout-project"  , Maven is still checking out Project1 instead
of Project2.What am I missing here?
> 
> jeff mutonho
> 
> 
> ---------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!

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


Mime
View raw message