Ivy
  1. Ivy
  2. IVY-1050

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1.0-RC1
    • Component/s: Core
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development