[ https://issues.apache.org/jira/browse/IVY-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605280#action_12605280 ]
Erik-Berndt Scheper commented on IVY-835: ----------------------------------------- Could it be that the root cause of this problem is that since IVY-325 there are now 3 artifacts with the same name: * the jar containing .class files * the jar containing downloaded sources * the jar containing javadoc Maybe the contents of the m:classifier attribute should be appended to the artifact names? > <ivy:install> ant task downloads wrong jars from maven repositories > ------------------------------------------------------------------- > > Key: IVY-835 > URL: https://issues.apache.org/jira/browse/IVY-835 > Project: Ivy > Issue Type: Bug > Affects Versions: 2.0-RC1 > Reporter: Erik-Berndt Scheper > Priority: Critical > Fix For: 2.0-RC1 > > > Using the latest build from trunk, which supports sources, javadoc and > distribution artifacts, wrong jars are downloaded from repo1.maven.org. > In the case below only spring-oxm-tiger-1.5.2-sources.jar is downloaded, > which is published as spring-oxm-1.5.2.jar (which should have been the > 'standard' jar containing classfiles. > Sample output: > {noformat} > [ivy:install] :: downloading artifacts to cache :: > [ivy:install] tried > http://repo1.maven.org/maven2/org/springframework/ws/spring-oxm-tiger/1.5.2/spring-oxm-tiger-1.5.2-sources.jar > [ivy:install] downloading > http://repo1.maven.org/maven2/org/springframework/ws/spring-oxm-tiger/1.5.2/spring-oxm-tiger-1.5.2-sources.jar > ... > [ivy:install] repo1.maven.org: downloading > http://repo1.maven.org/maven2/org/springframework/ws/spring-oxm-tiger/1.5.2/spring-oxm-tiger-1.5.2-sources.jar > [ivy:install] ...... (8kB) > [ivy:install] repo1.maven.org: downloading > http://repo1.maven.org/maven2/org/springframework/ws/spring-oxm-tiger/1.5.2/spring-oxm-tiger-1.5.2-sources.jar.sha1 > [ivy:install] .. (0kB) > [ivy:install] sha1 OK for > http://repo1.maven.org/maven2/org/springframework/ws/spring-oxm-tiger/1.5.2/spring-oxm-tiger-1.5.2-sources.jar > [ivy:install] [SUCCESSFUL ] > org.springframework.ws#spring-oxm-tiger;1.5.2!spring-oxm-tiger.jar(source) > (109ms) > [ivy:install] [NOT REQUIRED] > org.springframework.ws#spring-oxm-tiger;1.5.2!spring-oxm-tiger.jar > [ivy:install] [NOT REQUIRED] > org.springframework.ws#spring-oxm-tiger;1.5.2!spring-oxm-tiger.jar(javadoc) > [ivy:install] [NOT REQUIRED] > org.springframework.ws#spring-xml;1.5.2!spring-xml.jar > [ivy:install] [NOT REQUIRED] > org.springframework.ws#spring-oxm;1.5.2!spring-oxm.jar > [ivy:install] [NOT REQUIRED] > apache#commons-logging;1.1.1!commons-logging.jar > [ivy:install] [NOT REQUIRED] > org.springframework#spring-core;2.5.4!spring-core.jar > [ivy:install] [NOT REQUIRED] > org.springframework#spring-beans;2.5.4!spring-beans.jar > [ivy:install] [NOT REQUIRED] > org.apache.ws.commons.schema#XmlSchema;1.3.2!XmlSchema.jar > [ivy:install] [NOT REQUIRED] > org.springframework#spring-context;2.5.4!spring-context.jar > [ivy:install] [NOT REQUIRED] > aopalliance#aopalliance;1.0!aopalliance.jar > [ivy:install] [NOT REQUIRED] > com.thoughtworks.xstream#xstream;1.2.2!xstream.jar > [ivy:install] [NOT REQUIRED] xpp3#xpp3_min;1.1.3.4.O!xpp3_min.jar > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.