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

Unable to compile sources depending on provided scoped artifacts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.0.0-beta-3
    • 2.0.0-beta-2
    • maven
    • None

      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

              blabno Bernard Labno (Inactive)
              blabno Bernard Labno (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: