Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-221

The same artifact is downloaded multiple times from different repositories.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 2.2.0-beta-2
    • 2.1.1
    • None
    • None
    • Hide

      The following code will reproduce the following log:

      Maven.configureResolver()
           .withClassPathResolution(false)
           .withRemoteRepo("minecraft-libs", "https://libraries.minecraft.net/", "default")
           .resolve("net.java.dev.jna:jna:3.4.0")
           .withoutTransitivity()
           .asSingleFile()
      
      [2015-05-18 18:02:08.013] FINE   [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogRepositoryListener] Resolved artifact net.java.dev.jna:jna:pom:3.4.0 from minecraft-libs (https://libraries.minecraft.net/, releases+snapshots)
      [2015-05-18 18:02:08.021] FINE   [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener] Downloading:https://libraries.minecraft.net/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar
      [2015-05-18 18:02:08.595] FINE   [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener] Completed download of net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar from https://libraries.minecraft.net/, transferred 986 KB at 1716.2KB/sec
      [2015-05-18 18:02:08.596] FINE   [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogRepositoryListener] Resolved artifact net.java.dev.jna:jna:jar:3.4.0 from minecraft-libs (https://libraries.minecraft.net/, releases+snapshots)
      [2015-05-18 18:02:08.597] FINE   [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener] Downloading:http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar
      [2015-05-18 18:02:08.967] FINE   [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener] Completed download of net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar from http://repo1.maven.org/maven2/, transferred 986 KB at 2662.4KB/sec
      [2015-05-18 18:02:08.968] FINE   [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogRepositoryListener] Resolved artifact net.java.dev.jna:jna:jar:3.4.0 from central (http://repo1.maven.org/maven2, releases+snapshots)
      
      Show
      The following code will reproduce the following log: Maven.configureResolver() .withClassPathResolution( false ) .withRemoteRepo( "minecraft-libs" , "https: //libraries.minecraft.net/" , " default " ) .resolve( "net.java.dev.jna:jna:3.4.0" ) .withoutTransitivity() .asSingleFile() [2015-05-18 18:02:08.013] FINE [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogRepositoryListener] Resolved artifact net.java.dev.jna:jna:pom:3.4.0 from minecraft-libs (https: //libraries.minecraft.net/, releases+snapshots) [2015-05-18 18:02:08.021] FINE [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener] Downloading:https: //libraries.minecraft.net/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar [2015-05-18 18:02:08.595] FINE [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener] Completed download of net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar from https: //libraries.minecraft.net/, transferred 986 KB at 1716.2KB/sec [2015-05-18 18:02:08.596] FINE [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogRepositoryListener] Resolved artifact net.java.dev.jna:jna:jar:3.4.0 from minecraft-libs (https: //libraries.minecraft.net/, releases+snapshots) [2015-05-18 18:02:08.597] FINE [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener] Downloading:http: //repo1.maven.org/maven2/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar [2015-05-18 18:02:08.967] FINE [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener] Completed download of net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar from http: //repo1.maven.org/maven2/, transferred 986 KB at 2662.4KB/sec [2015-05-18 18:02:08.968] FINE [org.jboss.shrinkwrap.resolver.impl.maven.logging.LogRepositoryListener] Resolved artifact net.java.dev.jna:jna:jar:3.4.0 from central (http: //repo1.maven.org/maven2, releases+snapshots)

      When downloading dependencies using multiple repositories, the artifact is downloaded multiple times: once from each repository.

              Unassigned Unassigned
              rx14_jira Christopher Hobbs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: