I think you will have to put excludes for both dependencies (with and without
qualifier), since Maven will treat them as separate.
Adrian Brock wrote:
I've been playing "whack-a-mole" trying to exclude the
references to org.jboss.microcontainer.
But, I've got one strange one I can seem to exclude.
I've tried excluding it on jbossws-framework and ejb3-common
(the latter is duplicated in the webservices project?)
I think it has something to do with it having a qualifier in
component-matrix but not in the webservices pom?
This is part of the output from "mvn dependency:tree"
in the testsuite.
[INFO] +-
org.jboss.jbossas:jboss-as-webservices:jar:6.0.0-SNAPSHOT:compile
[INFO] | +- org.jboss.ws:jbossws-common:jar:1.2.2.GA:compile
[INFO] | +- org.jboss.ws:jbossws-framework:jar:3.2.2.GA:compile
[INFO] | \- org.jboss.ejb3:jboss-ejb3-common:jar:1.0.1:compile
[INFO] | \-
org.jboss.microcontainer:jboss-kernel:jar:2.0.0.CR5:compile
[INFO] | \-
org.jboss.microcontainer:jboss-dependency:jar:2.0.0.CR5:compile