felipeal 2005/03/29 13:43:30
Modified: integration/maven maven.xml
Log:
improved the way the artifacts are copied to the repository
Revision Changes Path
1.3 +7 -5 jakarta-cactus/integration/maven/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/maven/maven.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- maven.xml 8 Nov 2004 00:34:02 -0000 1.2
+++ maven.xml 29 Mar 2005 21:43:30 -0000 1.3
@@ -28,11 +28,13 @@
</postGoal>
<goal name="install-cactus-dist">
- <j:set var="jarsDir" value="${maven.repo.local}/${pom.groupId}/jars"/>
- <ant:echo>Copying Cactus jars to ${jarsDir}</ant:echo>
- <ant:mkdir dir="${jarsDir}"/>
- <ant:copy tofile="${jarsDir}/cactus-13-${pom.currentVersion}.jar"
file="${maven.jar.cactus}"/>
- <ant:copy tofile="${jarsDir}/cactus-ant-13-${pom.currentVersion}.jar"
file="${maven.jar.cactus.ant}"/>
+ <j:if test="${context.getVariable('maven.jar.override')=='on'}">
+ <j:set var="jarsDir" value="${maven.repo.local}/${pom.groupId}/jars"/>
+ <ant:echo>Copying Cactus jars to ${jarsDir}</ant:echo>
+ <ant:mkdir dir="${jarsDir}"/>
+ <ant:copy tofile="${jarsDir}/cactus-13-${pom.currentVersion}.jar"
file="${maven.jar.cactus}"/>
+ <ant:copy tofile="${jarsDir}/cactus-ant-13-${pom.currentVersion}.jar"
file="${maven.jar.cactus.ant}"/>
+ </j:if>
</goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]