You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nick Spacek (JIRA)" <ji...@apache.org> on 2012/12/17 13:40:12 UTC

[jira] [Updated] (IVY-1396) Ivy generating wrong revision in URL for sample Maven artifact

     [ https://issues.apache.org/jira/browse/IVY-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Spacek updated IVY-1396:
-----------------------------

    Attachment: pom.xml
                ivysettings.xml
                ivy.xml
                build.xml

Sample Maven pom.xml

Sample Ivy project
                
> Ivy generating wrong revision in URL for sample Maven artifact
> --------------------------------------------------------------
>
>                 Key: IVY-1396
>                 URL: https://issues.apache.org/jira/browse/IVY-1396
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.0-RC2
>            Reporter: Nick Spacek
>            Priority: Minor
>         Attachments: build.xml, ivysettings.xml, ivy.xml, pom.xml
>
>
> I'm having some troubles with Ivy resolving the wrong latest.integration for a Maven artifact. It is reading the Maven metadata (apparently)and determining that there is a 0.0.3-SNAPSHOT version. Strangely, it then attempts to retrieve a POM that is using both the 0.0.3-SNAPSHOT version from the metadata and a 0.0.1-SNAPSHOT version that it could have only discovered using the metadata for that particular version, as you will see below. As far as I can tell, the Maven metadata is fine.
> I've put together a sample. A simple, empty Maven artifact, and an Ivy build that resolves it.
> I deployed three version of Maven artifact at 0.0.1-SNAPSHOT. Each time I asked Ivy to resolve, it was successful. When I updated the version to 0.0.2-SNAPSHOT, it began mixing the URLs.

--
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