jdillon 2003/08/25 14:16:49
Modified: . maven.xml
etc maven.xml
Log:
o hook up clobber to the reactor, has to special check for clean to avoid
running clobber and then clean on all modules.
Revision Changes Path
1.27 +14 -2 incubator-geronimo/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/incubator-geronimo/maven.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- maven.xml 25 Aug 2003 15:46:39 -0000 1.26
+++ maven.xml 25 Aug 2003 21:16:49 -0000 1.27
@@ -101,12 +101,24 @@
<modules:reactor goals="clean" aggregate="false"/>
</goal>
+ <goal name="modules:clobber">
+ <modules:reactor goals="clobber" aggregate="false"/>
+ </goal>
+
<goal name="modules:jar:deploy">
<modules:reactor goals="jar:deploy"/>
</goal>
<preGoal name="clean:clean">
- <attainGoal name="modules:clean"/>
+ <!-- Do not clean modules if are clobbering them -->
+ <j:if test="${clobbering != 'true'}">
+ <attainGoal name="modules:clean"/>
+ </j:if>
+ </preGoal>
+
+ <preGoal name="clobber">
+ <j:set var="clobbering" value="true"/>
+ <attainGoal name="modules:clobber"/>
</preGoal>
<goal name="jar:deploy">
1.10 +2 -2 incubator-geronimo/etc/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/incubator-geronimo/etc/maven.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- maven.xml 25 Aug 2003 20:49:52 -0000 1.9
+++ maven.xml 25 Aug 2003 21:16:49 -0000 1.10
@@ -67,7 +67,7 @@
</preGoal>
<!-- Remove the log files -->
- <goal name="clobber"
+ <goal name="clobber"
description="Removes all (non-repository installed) build generated
files">
<!-- Let clean:clean do some work first -->