Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-330

exclusion after includeDependenciesFromPom doesn't exclude artifacts

XMLWordPrintable

    • Hide

      use a filter on resolveAs

      Show
      use a filter on resolveAs

      .addAsLibraries(DependencyResolvers.use(MavenDependencyResolver.class)
      .includeDependenciesFromPom("pom.xml")
      .exclusion("foo:bar")
      .resolveAs(JavaArchive.class));

      doesn't exclude foo:bar from included dependencies from pom.xml

              kpiwko Karel Piwko
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: