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

Excessive dependency download of maven SNAPSHOT's

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0-RC2
    • None
    • None

    Description

      Provided a configuration A has a Maven snapshot dependency and the configuration A is extended by another configuration B. I have two separate resolves during the execution of my build script, the Maven snapshot is downloaded twice. If I execute the build another time, the snapshot is taken from the cache. If I publish a new version of the snapshot, the first execution of the build will again download the snapshot multiple times. Consecutive executions take the snapshot from the cache until another new version is uploaded.

      I have attached a test case: The ant script has a publish task to publish a Snapshot to a Maven repo in the project folder. The ivy.xml has a compile and an extending test configuration. The compile configuration has a dependency on the Maven snapshot. Execution ant test will reproduce the behavior described above.

      Attachments

        1. ivybug.zip
          904 kB
          Hans Dockter

        Activity

          People

            Unassigned Unassigned
            hdockter Hans Dockter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: