Deploying artifacts with classifiers into Maven repositories is OK but that
seems it doesn't work with Ivy repositories

Example

task sourcesZip(type:Zip) {
 from sourceSets.main.java
 classifier='sources'
}

artifacts{
 archives sourcesZip
}

The generated ivy.xml is
<ivy-module version="1.0">
...
 <publications>
   <artifact name="test" type="jar" ext="jar" conf="archives"/>
   <artifact name="test" type="zip" ext="zip" conf="archives"
classifier="sources"/>
 </publications>
...
</ivy>

The classifier element is not a valid attribute 

--> It's missing the Maven namespace
<ivy-module version="2.0"  xmlns:m="http://ant.apache.org/ivy/maven";>

<artifact name="test" type="zip" ext="zip" conf="archives"
m:classifier="sources"/>

I added Maven plugin but I get the same result.

Did I miss something?
-- 
View this message in context: 
http://old.nabble.com/Deploying-artifacts-with-classifier-into-Ivy-repositories-tp27590446p27590446.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to