ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel FOUCHE (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IVY-1385) incoherence between "m:classifier" and "source/javadoc-artefacts naming" during ivy:install from ibiblio
Date Thu, 25 Oct 2012 13:13:13 GMT
Emmanuel FOUCHE created IVY-1385:
------------------------------------

             Summary: incoherence between "m:classifier" and "source/javadoc-artefacts naming"
during ivy:install from ibiblio 
                 Key: IVY-1385
                 URL: https://issues.apache.org/jira/browse/IVY-1385
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.2.0
         Environment: Java-1.6.0_35, Ant-1.8.3, Ivy-2.2.0, IvyDE-2.2.0.beta1-201203282058-RELEASE
            Reporter: Emmanuel FOUCHE


When ivy:install-ing the module org.apache.ant#ant#1.8.3, the module is fetched from "repo1.maven.org"

The following files are downloaded:
http://repo1.maven.org/maven2/org/apache/ant/ant/1.8.3/ant-1.8.3.pom
http://repo1.maven.org/maven2/org/apache/ant/ant/1.8.3/ant-1.8.3.jar
http://repo1.maven.org/maven2/org/apache/ant/ant/1.8.3/ant-1.8.3-sources.jar 
http://repo1.maven.org/maven2/org/apache/ant/ant/1.8.3/ant-1.8.3-javadoc.jar

The following files are created in target repository
[ivy:install] published ant to D:\[...]\ivysettings/_repository/20120516-180541/org.apache.ant/ant/1.8.3/jars/ant.jar
[ivy:install] published ant to D:\[...]\ivysettings/_repository/20120516-180541/org.apache.ant/ant/1.8.3/javadocs/ant.jar
[ivy:install] published ant to D:\[...]\ivysettings/_repository/20120516-180541/org.apache.ant/ant/1.8.3/sources/ant.jar
[ivy:install] published ivy to D:\[...]\ivysettings/_repository/20120516-180541/org.apache.ant/ant/1.8.3/ivys/ivy.xml

Noticed all jars have been renamed to "ant.jar" but the ivy file contains artifacts declaration
including "m:classifier"
<artifact name="ant" type="jar" ext="jar" conf="master"/>
<artifact name="ant" type="source" ext="jar" conf="sources" m:classifier="sources"/>
<artifact name="ant" type="javadoc" ext="jar" conf="javadoc" m:classifier="javadoc"/>

The problem also occurs when using IVY from command line ANT.
The artefact definition using m:classifier="sources" make IVY look for the file named ant-sources.jar
while attempting to resolve source-typed artefact. 

Full descrition w/ logfile and testcase setup procedure here: 
http://old.nabble.com/Resolving-source-artefact-altered-by-m%3Aclassifier-td33890292.html


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message