[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-221) The same artifact is downloaded multiple times from different repositories.

Matous Jobanek (JIRA) issues at jboss.org
Thu Jul 9 02:55:02 EDT 2015


    [ https://issues.jboss.org/browse/SHRINKRES-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088050#comment-13088050 ] 

Matous Jobanek commented on SHRINKRES-221:
------------------------------------------

Hi Christopher, thanks for reporting. 
The behavior you are describing is performed by Eclipse Aether itself. Aether is a library for working with maven artifact repositories and this library is used in ShrinkWrap Resolver. You can be confused why the log is created by the classes of ShrinkWrap Resolver:
{{org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener}}
{{org.jboss.shrinkwrap.resolver.impl.maven.logging.LogRepositoryListener}}
The classes are only log listeners - they observe events fired by the Aether and log the activities appropriately.

This issue has been already reported: [MNG-5723|https://issues.apache.org/jira/browse/MNG-5723] and also fixed in the Maven 3.2.5. This new Maven is included in [ShrinkWrap Resolver 2.2.0-beta-2|http://arquillian.org/blog/2015/04/11/resolver-2-2-0-beta-2/] - so, if you update to the newest version of Resolver you shouldn't observe this behavior any more.

I'll close this issue as "duplicate issue" if you agree.

> The same artifact is downloaded multiple times from different repositories.
> ---------------------------------------------------------------------------
>
>                 Key: SHRINKRES-221
>                 URL: https://issues.jboss.org/browse/SHRINKRES-221
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>         Environment: Shrinkwrap Resolver 2.1.1
>            Reporter: Christopher Hobbs
>
> When downloading dependencies using multiple repositories, the artifact is downloaded multiple times: once from each repository.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the shrinkwrap-issues mailing list