[
https://issues.apache.org/jira/browse/IVY-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hans Dockter updated IVY-1117:
------------------------------
Attachment: ivybug.zip
> 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.