[ https://issues.apache.org/jira/browse/IVY-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik-Berndt Scheper resolved IVY-835. ------------------------------------- Resolution: Cannot Reproduce I have tried to reproduce this with the latest build from trunk, but can no longer reproduce this exact behaviour. I seem to remember the problem was related to the artifact pattern, where I had forgotten to add a (-classifier). > <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.