ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Dockter (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1117) Excessive dependency download of maven SNAPSHOT's
Date Wed, 02 Sep 2009 11:22:32 GMT
Excessive dependency download of maven SNAPSHOT's
-------------------------------------------------

                 Key: IVY-1117
                 URL: https://issues.apache.org/jira/browse/IVY-1117
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.1.0-RC2
            Reporter: Hans Dockter
         Attachments: ivybug.zip

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message