Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1396

Ivy generating wrong revision in URL for sample Maven artifact

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: