[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-136) System scoped dependencies shouldn't be added to WAR

Ron Šmeral (JIRA) jira-events at lists.jboss.org
Wed May 29 10:35:56 EDT 2013


Ron Šmeral created SHRINKRES-136:
------------------------------------

             Summary: System scoped dependencies shouldn't be added to WAR
                 Key: SHRINKRES-136
                 URL: https://issues.jboss.org/browse/SHRINKRES-136
             Project: ShrinkWrap Resolvers
          Issue Type: Bug
          Components: impl-maven
    Affects Versions: 2.0.0-beta-3
            Reporter: Ron Šmeral
            Assignee: Andrew Rubinger


When resolving dependencies with {{importRuntimeDependencies}} and adding them to an archive as in
{code}
File[] libs = Maven.resolver().loadPomFromFile("pom.xml").importRuntimeDependencies().asFile();
ShrinkWrap.create(WebArchive.class, "seam-blog.war").addAsLibraries(libs);
{code}
system-scoped dependencies are resolved and added to the archive as well.

This should not happen and should be aligned with the behaviour of the maven war plugin, as described in this issue: https://jira.codehaus.org/browse/MWAR-23.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the shrinkwrap-issues mailing list