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

Declared dependency order is not the same as in Maven

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.1
    • 2.2.0
    • None
    • None

      It looks that SWR does not preserve order of dependencies as they are coming from Aether because of HashSet storage in MavenDependencySession.

      https://github.com/shrinkwrap/resolver/blob/0da07b860d34ce048270b06200a566d477732e57/impl-maven/src/main/java/org/jboss/shrinkwrap/resolver/impl/maven/MavenWorkingSessionImpl.java#L127-L128

      This might cause problems if constructing classpath manually from resolved dependencies.

              kpiwko Karel Piwko
              kpiwko Karel Piwko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: