You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by st...@apache.org on 2005/02/26 16:37:38 UTC

svn commit: r155546 - incubator/jackrabbit/trunk/maven.xml

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>