[jboss-jira] [JBoss JIRA] Assigned: (AS7-1403) Excluded/Banned transitive dependencies for Maven Dependency Resolver are too strict

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Mon Aug 22 20:22:17 EDT 2011


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

Andrew Rubinger reassigned AS7-1403:
------------------------------------

    Assignee: Jason Greene  (was: Andrew Rubinger)


I suspect we've run into one of the limitations of being so proactive with banning transitive dependencies; when they're in place for a reason. :)

Recommend we arm jboss-as-parent with the latest SWR declarations in depMgt, as well as the runtime dependencies it needs to execute.  This can be enforced by adding some use of SWR into the AS7 Integration TestSuite.  In effect, Karel's recommendation 2) above, plus adding a test to assert all's in place correctly.  Drawback: this will amount to adding more allowed dependencies upon jboss-as-parent, ie. Aether and everything it needs to run effectively.

WDYT, Jas?  If you agree we can submit a patch to get this done.  Assigning back to you for confirmation.

> Excluded/Banned transitive dependencies for Maven Dependency Resolver are too strict
> ------------------------------------------------------------------------------------
>
>                 Key: AS7-1403
>                 URL: https://issues.jboss.org/browse/AS7-1403
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 7.0.0.Final
>            Reporter: Karel Piwko
>            Assignee: Jason Greene
>
> During 7.0.0.CR1 build, there was a decision to remove transitive dependencies from other projects and exclude/ban them in jboss-as-parent.
> This decision has effectively crippled usage of Maven Dependency Resolver, which wasn't used in CR1-date based testsuite, so the change passed silently. 
> If user wants to use the ShrinkWrap Dependency Resolver in the AS7 testsuite, he won't get the required transitive dependencies, such as wagon or aether, so the resolver is unusable.
> According to disscussion with Vladimir, it would help "to flatten" dependency tree for ShrinkWrap dependency Resolver, however, that's only the part of the solution, the restrictions posed in AS7 parent must be relaxed afterwards.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list