Hi guys
I've got a top level project directory called Support
which has the sub-projects Support_Logging, Support_Messaging and
Support_Persistence , each with it's own maven and project xml files.
In the top level project , i.e Support , I have a maven.xml file that looks like as
follows:
<project default="support-build-all" xmlns:j="jelly:core" xmlns:m="jelly:maven">
<preGoal name="support-build-all">
<j:set var="maven.scm.cvs.module">Support_Logging</j:set>
<attainGoal name="scm:cvs-checkout-project"/>
<j:set var="maven.scm.cvs.module">Support_Messaging</j:set>
<attainGoal name="scm:cvs-checkout-project"/>
<j:set var="maven.scm.cvs.module">Support_Persistence</j:set>
<attainGoal name="scm:cvs-checkout-project"/>
</preGoal>
<goal name="support-build-all">
<m:reactor basedir="${basedir}"
includes="*/project.xml"
goals="support-build-all"
banner="Building Project"
ignoreFailures="false"/>
</goal>
</project>
Support_Logging has a maven.xml that looks as follows :
<project default="support-build-all" xmlns:j="jelly:core" xmlns:m="jelly:maven">
<goal name="support-build-all">
<attainGoal name="jar:install"/>
<attainGoal name="site:generate"/>
<attainGoal name="site:deploy"/>
</goal>
</project>
Support_Messaging has a maven.xml that looks as follows :
<project default="support-build-all" xmlns:j="jelly:core" xmlns:m="jelly:maven">
<goal name="support-build-all">
<attainGoal name="ejb:install"/>
<attainGoal name="site:generate"/>
</goal>
</project>
and Support_Persistence has a maven.xml that looks as follows :
<project default="support-build-all" xmlns:j="jelly:core" xmlns:m="jelly:maven">
<goal name="support-build-all">
<attainGoal name="ejb:install"/>
<attainGoal name="site:generate"/>
</goal>
</project>
When I run "maven' from the top level ,Support directory , the each subproject is
being checked out twice , and to make matter worse , the second time when the
sub-projects get checked out , they're all placed under Support_Logging, such that I
end up having all sub-projects under Support , plus another set of the same
sub-projects under the sub-project Support_Logging(itself also included) ,
I cant make out what could be the source of the problem.Any ideas?
jeff
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com