Ivy
  1. Ivy
  2. IVY-1396

Ivy generating wrong revision in URL for sample Maven artifact

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0-RC2
    • Fix Version/s: 2.3.0
    • Component/s: Core
    • Labels:
      None

      Description

      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.

      1. build.xml
        0.8 kB
        Nick Spacek
      2. ivy.xml
        0.4 kB
        Nick Spacek
      3. ivysettings.xml
        0.3 kB
        Nick Spacek
      4. pom.xml
        0.9 kB
        Nick Spacek
      5. rc1.log
        7 kB
        Nick Spacek
      6. rc2.log
        7 kB
        Nick Spacek

        Activity

        Nick Spacek created issue -
        Nick Spacek made changes -
        Field Original Value New Value
        Attachment build.xml [ 12561277 ]
        Attachment ivy.xml [ 12561278 ]
        Attachment ivysettings.xml [ 12561279 ]
        Attachment pom.xml [ 12561280 ]
        Nick Spacek made changes -
        Attachment rc1.log [ 12561476 ]
        Attachment rc2.log [ 12561477 ]
        Maarten Coene made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Maarten Coene [ maartenc ]
        Fix Version/s 2.3.0 [ 12323508 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Maarten Coene
            Reporter:
            Nick Spacek
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development