jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r280852 - /incubator/jackrabbit/trunk/maven.xml
Date Wed, 14 Sep 2005 13:41:35 GMT
Author: tripod
Date: Wed Sep 14 06:41:30 2005
New Revision: 280852

URL: http://svn.apache.org/viewcvs?rev=280852&view=rev
Log:
- adding simple postgoal for building the commons jar

Modified:
    incubator/jackrabbit/trunk/maven.xml

Modified: incubator/jackrabbit/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/maven.xml?rev=280852&r1=280851&r2=280852&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/maven.xml (original)
+++ incubator/jackrabbit/trunk/maven.xml Wed Sep 14 06:41:30 2005
@@ -190,4 +190,31 @@
         <attainGoal name="test:single"/>
     </goal>
 
+    <postGoal name="jar:jar">
+        <attainGoal name="commons:jar" />
+    </postGoal>
+    
+    <postGoal name="jar:install">
+        <attainGoal name="commons:install" />
+    </postGoal>
+    
+    
+    <!-- generate the commons jar -->
+    <goal name="commons:jar">
+        <ant:jar
+            jarfile="${maven.build.dir}/jackrabbit-commons-${pom.currentVersion}.jar"
+            basedir="${maven.build.dest}"
+            excludes="org/apache/jackrabbit/core/**, META-INF/**" />
+    </goal>
+
+    <!-- install the commons jar -->
+    <goal name="commons:install">
+        <!-- actually, we would like to use artifact:install, but loading the
+             pom does not work in maven 1.0.2
+        -->
+        <ant:mkdir dir="${maven.repo.local}/jackrabbit/jars" />
+        <ant:copy 
+          file="${maven.build.dir}/jackrabbit-commons-${pom.currentVersion}.jar"
+          todir="${maven.repo.local}/jackrabbit/jars" />
+    </goal>
 </project>



Mime
View raw message