Hi Michael,
Looks good
Craig
On Oct 10, 2005, at 1:49 PM, Michael Bouschen wrote:
Hi,
Multiproject build - Michelle proposes that we should create a new
multiproject goal that invokes the default goal of each TCK
subproject.
This will compile all code, but not install the schema or run
tests for
TCK20.
attached you find a patch for review adding goals jdo11.default,
jdo20.default and tck20.default to the maven.xml in trunk. The new
goals invoke the default goal on the corresponding subprojects.
Regards Michael
--
Michael Bouschen [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED] http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin
Index: maven.xml
===================================================================
--- maven.xml (Revision 312493)
+++ maven.xml (Arbeitskopie)
@@ -27,12 +27,15 @@
<goal name="help">
<echo>Custom goals for this project are:</echo>
- <echo> jdo11.build - builds all JDO1 projects</echo>
- <echo> jdo11.clean - cleans all JDO1 projects</echo>
- <echo> jdo20.build - builds all JDO2 projects</echo>
- <echo> jdo20.clean - cleans all JDO2 projects</echo>
- <echo> tck20.build - builds tck20 and dependent JDO2
projects</echo>
- <echo> tck20.clean - cleans tck20 and dependent JDO2
projects</echo>
+ <echo> jdo11.build - builds all JDO1 projects</echo>
+ <echo> jdo11.default - calls the default goal for all
JDO1 projects</echo>
+ <echo> jdo11.clean - cleans all JDO1 projects</echo>
+ <echo> jdo20.build - builds all JDO2 projects</echo>
+ <echo> jdo20.default - calls the default goal for all
JDO2 projects</echo>
+ <echo> jdo20.clean - cleans all JDO2 projects</echo>
+ <echo> tck20.build - builds tck20 and dependent JDO2
projects</echo>
+ <echo> tck20.default - calls the default goal for tck20
and dependent JDO2 projects</echo>
+ <echo> tck20.clean - cleans tck20 and dependent JDO2
projects</echo>
<echo>Please check README.txt for more details.</echo>
</goal>
@@ -47,6 +50,13 @@
<attainGoal name="multiproject:goal"/>
</goal>
+ <goal name="jdo11.default"
+ description="Calls the default goal for all JDO1 projects">
+ <j:set var="maven.multiproject.includes">${jdo11.projects}
</j:set>
+ <j:set var="goal">default</j:set>
+ <attainGoal name="multiproject:goal"/>
+ </goal>
+
<goal name="jdo11.clean"
description="Cleans all JDO1 projects">
<j:set var="maven.multiproject.includes">${jdo11.projects}
</j:set>
@@ -64,6 +74,13 @@
<attainGoal name="multiproject:goal"/>
</goal>
+ <goal name="jdo20.default"
+ description="Calls the default goal for all JDO2 projects">
+ <j:set var="maven.multiproject.includes">${jdo20.projects}
</j:set>
+ <j:set var="goal">default</j:set>
+ <attainGoal name="multiproject:goal"/>
+ </goal>
+
<goal name="jdo20.clean"
description="Cleans all JDO2 projects">
<j:set var="maven.multiproject.includes">${jdo20.projects}
</j:set>
@@ -77,6 +94,13 @@
<attainGoal name="multiproject:goal"/>
</goal>
+ <goal name="tck20.default"
+ description="Calls the default goal for tck20 and
dependent JDO2 projects">
+ <j:set var="maven.multiproject.includes">${tck20.projects}
</j:set>
+ <j:set var="goal">default</j:set>
+ <attainGoal name="multiproject:goal"/>
+ </goal>
+
<goal name="tck20.clean"
description="Cleans tck20 and dependent JDO2 projects">
<j:set var="maven.multiproject.includes">${tck20.projects}
</j:set>