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

EmptyStackException when adding a exclusion before a artifact using MavenDependencyResolver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0-alpha-1
    • 1.1.0-alpha-2
    • maven
    • None

      DependencyResolvers.use(MavenDependencyResolver.class)
         .exclusion("javax.transaction:jta")      
         .artifacts("org.hibernate:hibernate-core:3.6.8.Final")
         .resolveAsFiles())
      
      Caused by: java.util.EmptyStackException
      	at java.util.Stack.peek(Stack.java:102)
      	at org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl.exclusion(MavenBuilderImpl.java:264)
      	at ...
      

              kpiwko Karel Piwko
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: