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!