jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r155546 - incubator/jackrabbit/trunk/maven.xml
Date Sat, 26 Feb 2005 15:37:38 GMT
Author: stefan
Date: Sat Feb 26 07:37:36 2005
New Revision: 155546

URL: http://svn.apache.org/viewcvs?view=rev&rev=155546
Log:
added maven goal "copy-deps" which copies the dependencies to ./target/lib

Modified:
    incubator/jackrabbit/trunk/maven.xml

Modified: incubator/jackrabbit/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/maven.xml?view=diff&r1=155545&r2=155546
==============================================================================
--- incubator/jackrabbit/trunk/maven.xml (original)
+++ incubator/jackrabbit/trunk/maven.xml Sat Feb 26 07:37:36 2005
@@ -17,6 +17,7 @@
 
 <project
     default="jar:jar"
+    xmlns:deploy="deploy"
     xmlns:j="jelly:core"
     xmlns:ant="jelly:ant">
 
@@ -24,16 +25,6 @@
         <attainGoal name="jackrabbit:post-ant"/>
     </postGoal>
 
-    <!-- Goal adds a line to build.xml to include the ./lib in ant classpath -->
-    <!-- Once jcr.jar is in a maven repository this can be removed -->
-    <goal name="jackrabbit:post-ant">
-        <ant:replace
-            file="build.xml"
-            token="&lt;path id=&quot;build.classpath&quot;&gt;"
-            value="&lt;path id=&quot;build.classpath&quot;&gt;&lt;fileset
dir=&quot;./lib&quot;&gt;&lt;include name=&quot;**/*.jar&quot;>&lt;/include&gt;&lt;/fileset&gt;"
-            />
-    </goal>
-
     <postGoal name="maven-javadoc-plugin:report">
         <attainGoal name="jackrabbit:post-javadoc"/>
     </postGoal>
@@ -171,4 +162,12 @@
             </classpath>
         </ant:java>
     </goal>
+
+  <!-- 
+      Copies all dependencies to ./target/lib 
+      (except the optional runtime dependencies cqfs and cqfs-jackrabbit)  
+  -->
+  <goal name="copy-deps">
+    <deploy:copy-deps todir="./target/lib" excludes="cqfs,cqfs-jackrabbit"/>
+  </goal>
 </project>



Mime
View raw message