[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-234) Declared dependency order is not the same as in Maven

Karel Piwko (JIRA) issues at jboss.org
Mon Jul 11 07:38:03 EDT 2016


     [ https://issues.jboss.org/browse/SHRINKRES-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko closed SHRINKRES-234.
---------------------------------


> Declared dependency order is not the same as in Maven
> -----------------------------------------------------
>
>                 Key: SHRINKRES-234
>                 URL: https://issues.jboss.org/browse/SHRINKRES-234
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Karel Piwko
>            Assignee: Karel Piwko
>             Fix For: 2.2.1
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the shrinkwrap-issues mailing list