You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2010/06/15 12:49:46 UTC

svn commit: r954804 - in /ant/antlibs/common/trunk: ivy.xml ivysettings-nexus.xml

Author: bodewig
Date: Tue Jun 15 10:49:46 2010
New Revision: 954804

URL: http://svn.apache.org/viewvc?rev=954804&view=rev
Log:
use a different pattern and classifiers for javadoc and sources jars as suggested by Maarten

Modified:
    ant/antlibs/common/trunk/ivy.xml
    ant/antlibs/common/trunk/ivysettings-nexus.xml

Modified: ant/antlibs/common/trunk/ivy.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/common/trunk/ivy.xml?rev=954804&r1=954803&r2=954804&view=diff
==============================================================================
--- ant/antlibs/common/trunk/ivy.xml (original)
+++ ant/antlibs/common/trunk/ivy.xml Tue Jun 15 10:49:46 2010
@@ -72,6 +72,14 @@
           <artifact name="${artifact.name}" type="pom.asc" ext="pom.asc"/>
           <artifact name="${artifact.name}" type="jar" ext="jar"/>
           <artifact name="${artifact.name}" type="jar.asc" ext="jar.asc"/>
+          <artifact name="${artifact.name}" type="source" ext="jar"
+                    classifier="sources"/>
+          <artifact name="${artifact.name}" type="source.asc" ext="jar.asc"
+                    classifier="sources"/>
+          <artifact name="${artifact.name}" type="javadoc" ext="jar"
+                    classifier="javadoc"/>
+          <artifact name="${artifact.name}" type="javadoc.asc" ext="jar.asc"
+                    classifier="javadoc"/>
         </publications>
       </ivy-module>
     </echoxml>

Modified: ant/antlibs/common/trunk/ivysettings-nexus.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/common/trunk/ivysettings-nexus.xml?rev=954804&r1=954803&r2=954804&view=diff
==============================================================================
--- ant/antlibs/common/trunk/ivysettings-nexus.xml (original)
+++ ant/antlibs/common/trunk/ivysettings-nexus.xml Tue Jun 15 10:49:46 2010
@@ -20,7 +20,7 @@
   <resolvers>
     <ibiblio name="public" m2compatible="true"/>
     <url name="nexus">
-      <artifact pattern="${upload.url}/[organisation]/[module]/[artifact]/[revision]/[artifact]-[revision].[ext]" />
+      <artifact pattern="${upload.url}/[organisation]/[module]/[artifact]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
     </url>
   </resolvers>
   <modules>