You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by qu...@apache.org on 2003/02/13 23:35:31 UTC
cvs commit: jakarta-turbine-2 maven.xml
quintonm 2003/02/13 14:35:31
Modified: . maven.xml
Log:
A little hack borrowed from Fulcrum's maven.xml
for compiling with a clean target. Without this change,
the first compile will fail.
Revision Changes Path
1.6 +7 -0 jakarta-turbine-2/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/maven.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- maven.xml 13 Feb 2003 22:24:38 -0000 1.5
+++ maven.xml 13 Feb 2003 22:35:31 -0000 1.6
@@ -31,7 +31,14 @@
file="scheduler-schema.xml"
tofile="${torque.schema.dir}/scheduler-schema.xml"
filtering="yes"/>
+
<attainGoal name="torque:om"/>
+
+ <!-- Hack for Maven bug when compiling with a clean target. -->
+ <j:if test="${sourcesPresent != 'true'}">
+ <j:set var="sourcesPresent" value="true"/>
+ <path id="maven.compile.src.set" location="target/src"/>
+ </j:if>
</preGoal>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org