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

Fail the retrieve when multiple artifacts of same module are mapped to same file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1.0-RC1
    • Core
    • None

    Description

      If the retrieve job maps different artifacts of the same module to the same filename, Ivy should throw an error.
      This would solve problems when retrieving artifacts from the maven repositories where also sources/javadocs artifacts exists and where the retrieve pattern doesn't distinguish between them (doesn't contain a [type] or [classifier] token). At the moment, a random selected artifact is being retrieved, which results in unpredictable builds...

      The behaviour when multiple artifacts of different modules are mapped to the same file should remain as is to keep backwards compatibility as much as possible: a conflictmanager selects the most recent artifact.

      Attachments

        Activity

          People

            maartenc Maarten Coene
            maartenc Maarten Coene
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: