jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edgarp...@apache.org
Subject svn commit: r414431 - /jackrabbit/trunk/contrib/jcr-commands/maven.xml
Date Thu, 15 Jun 2006 01:50:29 GMT
Author: edgarpoce
Date: Wed Jun 14 18:50:28 2006
New Revision: 414431

URL: http://svn.apache.org/viewvc?rev=414431&view=rev
Log:
add postgoal to "jar" goal to build a zip file

Modified:
    jackrabbit/trunk/contrib/jcr-commands/maven.xml

Modified: jackrabbit/trunk/contrib/jcr-commands/maven.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-commands/maven.xml?rev=414431&r1=414430&r2=414431&view=diff
==============================================================================
--- jackrabbit/trunk/contrib/jcr-commands/maven.xml (original)
+++ jackrabbit/trunk/contrib/jcr-commands/maven.xml Wed Jun 14 18:50:28 2006
@@ -21,6 +21,28 @@
     xmlns:ant="jelly:ant"
     xmlns:maven="jelly:maven">
 
+	  <postGoal name="jar">
+		<ant:delete dir="target/installer"/>
+	  
+		<ant:copy toDir="target/installer/bin" >
+			<ant:fileset dir="src/bin" includes="**/*"/>
+		</ant:copy>
+
+		<j:forEach var="lib" items="${pom.artifacts}">
+		  <j:set var="dep" value="${lib.dependency}"/>
+		  <ant:copy todir="target/installer/lib" file="${lib.path}"/>
+		</j:forEach>	  
+
+		<ant:copy toDir="target/installer/classes" >
+			<ant:fileset dir="target/classes" includes="**/*"/>
+		</ant:copy>
+		
+		<zip destfile="target/jcr-commands.zip"
+		       basedir="target/installer"
+		  />		
+		
+	  </postGoal>
+	
     <!-- Additionally cleans the test data created -->
     <preGoal name="test">
         <attainGoal name="removerepo"/>



Mime
View raw message