You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by oh...@apache.org on 2007/02/06 21:40:56 UTC

svn commit: r504282 - /jakarta/commons/proper/configuration/trunk/maven.xml

Author: oheger
Date: Tue Feb  6 12:40:55 2007
New Revision: 504282

URL: http://svn.apache.org/viewvc?view=rev&rev=504282
Log:
Added a jar with the sources and one with the Javadocs to the binary distribution

Modified:
    jakarta/commons/proper/configuration/trunk/maven.xml

Modified: jakarta/commons/proper/configuration/trunk/maven.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/configuration/trunk/maven.xml?view=diff&rev=504282&r1=504281&r2=504282
==============================================================================
--- jakarta/commons/proper/configuration/trunk/maven.xml (original)
+++ jakarta/commons/proper/configuration/trunk/maven.xml Tue Feb  6 12:40:55 2007
@@ -58,15 +58,22 @@
       <fileset file="${basedir}/NOTICE.txt"/>
       <fileset file="${basedir}/RELEASE-NOTES.txt"/>
     </copy>
-    
-    <!-- Create a zip file containing the sources -->
-    <zip destfile="${maven.dist.bin.assembly.dir}/${maven.final.name}-ide.zip">
+
+    <!-- Create a jar file containing the sources -->
+    <jar destfile="${maven.dist.bin.assembly.dir}/${maven.final.name}-sources.jar">
       <zipfileset prefix="META-INF" dir="${basedir}"
         includes="LICENSE*, NOTICE*"/>
       <fileset dir="${basedir}/src/java" includes="**/*.java"/>
-    </zip>
+    </jar>
+
+    <!-- Create a jar file containing the Javadocs -->
+    <jar destfile="${maven.dist.bin.assembly.dir}/${maven.final.name}-javadoc.jar">
+      <zipfileset prefix="META-INF" dir="${basedir}"
+        includes="LICENSE*, NOTICE*"/>
+      <fileset dir="${basedir}/target/docs/apidocs"/>
+    </jar>
   </preGoal>
-  
+
   <!-- NonStringTestHolder.java contains tests shared by JUnit and Cactus
   tests.  This ugly hack moves the src from /src/test to /src/test-cactus
   so the Cactus tests will compile.  Not sure what is worse, this hack, or



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org