[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-443) Unable to compile sources depending on provided scoped artifacts

Bernard Labno (JIRA) jira-events at lists.jboss.org
Mon Feb 25 05:36:56 EST 2013


Bernard Labno created SHRINKWRAP-443:
----------------------------------------

             Summary: Unable to compile sources depending on provided scoped artifacts
                 Key: SHRINKWRAP-443
                 URL: https://issues.jboss.org/browse/SHRINKWRAP-443
             Project: ShrinkWrap
          Issue Type: Bug
            Reporter: Bernard Labno
            Priority: Critical


I'm using org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven-archive:2.0.0-beta-2

If I have some class that depends on artifact from provided scope then I'm getting following exception:
MavenImporterException: Unable to compile sources

The reason is that WarPackagingProcessor passes all but provided scope to compile() method.
https://github.com/shrinkwrap/resolver/blob/2.0.0-beta-2/impl-maven-archive/src/main/java/org/jboss/shrinkwrap/resolver/impl/maven/archive/packaging/WarPackagingProcessor.java#L78

--
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