[jboss-dev] Strange maven exclude problem

Adrian Brock abrock at redhat.com
Thu Jan 14 16:02:27 EST 2010


On Thu, 2010-01-14 at 21:36 +0100, Ales Justin wrote:
> Didn't you only exclude 'dependency' but not the 'kernel' as well?
> 

No I include jboss-kernel in all places. There's no
reason to jboss-depdendency because it is transitive on kernel.

> Adrian Brock wrote:
> > On Thu, 2010-01-14 at 14:12 -0600, Paul Gier wrote:
> >> I think you will have to put excludes for both dependencies (with and without 
> >> qualifier), since Maven will treat them as separate.
> >>
> > 
> > That's what I've done (in what I checked in). 
> > It didn't work.
> > 
> >> 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
> >>>
> >> _______________________________________________
> >> jboss-development mailing list
> >> jboss-development at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/jboss-development
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss by Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list