RE: WAR Dependency Mediation Problem

2009-04-20 Thread Wolff, Dave
Hello again,
I've been doing more digging and below is a copy of the mvn
dependency:tree output.  With the exception of the jdom 1.0 and 1.1
(1.1 has been moved to a new groupId) there don't appear to be any of
the duplicate dependencies that are being added into my WAR.  

So the question is:  How are these duplicates ending up in my WAR file
if they aren't showing up in the dependency tree?  I'm lost...

Thanks in advance for any help!
Dave


[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO]

[INFO] Building curriculum-service-ws Maven Webapp
[INFO]task-segment: [dependency:tree]
[INFO]

[INFO] [dependency:tree]
[INFO] edu.letu.curriculum:curriculum-service-ws:war:1.0-SNAPSHOT
[INFO] +- junit:junit:jar:3.8.1:test (scope not updated to compile)
[INFO] +-
edu.letu.curriculum:curriculum-service:jar:1.0-SNAPSHOT:compile
[INFO] |  \- edu.letu.curriculum:curriculum-dao:jar:1.0-SNAPSHOT:compile
[INFO] | \- joda-time:joda-time-hibernate:jar:1.1:compile
[INFO] |+- commons-logging:commons-logging-api:jar:1.0.4:compile
[INFO] |+- hsqldb:hsqldb:jar:1.7.3.3:compile
[INFO] |+- ehcache:ehcache:jar:1.1:compile
[INFO] |+- cglib:cglib-full:jar:2.0.2:compile
[INFO] |\- antlr:antlr:jar:2.7.2:compile
[INFO] +- edu.letu.curriculum:curriculum-api:jar:1.0-SNAPSHOT:compile
[INFO] |  +-
edu.letu.curriculum:curriculum-domain:jar:1.0-SNAPSHOT:compile
[INFO] |  \- edu.letu.common:lucommon-api:jar:1.9-SNAPSHOT:compile
[INFO] +- org.springframework:spring:jar:2.5.6:compile
[INFO] |  \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.springframework:spring-mock:jar:2.0.8:test
[INFO] +- org.springframework:spring-webmvc:jar:2.5.6:compile
[INFO] |  +- org.springframework:spring-beans:jar:2.5.6:compile
[INFO] |  +- org.springframework:spring-context:jar:2.5.6:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  +-
org.springframework:spring-context-support:jar:2.5.6:compile
[INFO] |  +- org.springframework:spring-core:jar:2.5.6:compile
[INFO] |  \- org.springframework:spring-web:jar:2.5.6:compile
[INFO] +- org.springframework.ws:spring-ws-core:jar:1.5.6:compile
[INFO] |  +- org.springframework.ws:spring-xml:jar:1.5.6:compile
[INFO] |  +- org.springframework:spring-aop:jar:2.5.6:compile
[INFO] |  +- wsdl4j:wsdl4j:jar:1.6.1:compile
[INFO] |  \- stax:stax-api:jar:1.0.1:compile
[INFO] +- org.springframework.ws:spring-oxm:jar:1.5.6:compile
[INFO] +- javax.servlet:servlet-api:jar:2.4:provided
[INFO] +- commons-dbcp:commons-dbcp:jar:1.2.2:compile
[INFO] |  \- commons-pool:commons-pool:jar:1.3:compile
[INFO] +- mysql:mysql-connector-java:jar:5.1.6:runtime
[INFO] +- org.jdom:jdom:jar:1.1:compile
[INFO] +- jaxen:jaxen:jar:1.1:compile
[INFO] |  +- dom4j:dom4j:jar:1.6.1:compile
[INFO] |  +- jdom:jdom:jar:1.0:compile
[INFO] |  +- xml-apis:xml-apis:jar:1.3.02:compile
[INFO] |  \- xom:xom:jar:1.0:compile
[INFO] | +- xerces:xmlParserAPIs:jar:2.6.2:compile
[INFO] | \- com.ibm.icu:icu4j:jar:2.6.1:compile
[INFO] +- javax.xml.soap:saaj-api:jar:1.3:runtime
[INFO] |  \- javax.activation:activation:jar:1.1:runtime
[INFO] +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3:runtime
[INFO] +- xalan:xalan:jar:2.7.1:runtime (scope not updated to compile)
[INFO] |  \- xalan:serializer:jar:2.7.1:runtime
[INFO] +- xerces:xercesImpl:jar:2.9.1:compile
[INFO] \- edu.letu.common:lucommon-domain:jar:1.9-SNAPSHOT:compile
[INFO]+- edu.letu.common:lucommon-util:jar:1.9-SNAPSHOT:compile
[INFO]+- edu.letu.common:lucommon-hibernate:jar:1.9-SNAPSHOT:compile
[INFO]|  \- org.hibernate:hibernate:jar:3.2.4.sp1:compile
[INFO]| +- net.sf.ehcache:ehcache:jar:1.2.3:compile
[INFO]| +- javax.transaction:jta:jar:1.0.1B:compile
[INFO]| +- asm:asm-attrs:jar:1.5.3:compile
[INFO]| +- cglib:cglib:jar:2.1_3:compile
[INFO]| \- asm:asm:jar:1.5.3:compile
[INFO]+- org.jibx:jibx-run:jar:1.2.1:compile
[INFO]|  \- org.codehaus.woodstox:wstx-asl:jar:3.2.1:compile
[INFO]+- org.jibx:jibx-extras:jar:1.2.1:compile
[INFO]+- joda-time:joda-time:jar:1.6:compile
[INFO]\- commons-collections:commons-collections:jar:3.2:compile
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Apr 20 12:14:22 CDT 2009
[INFO] Final Memory: 14M/254M
[INFO]




-Original Message-
From: Wolff, Dave [mailto:davidwo...@letu.edu] 
Sent: Monday, April 20, 2009 11:39 AM
To: users@maven.apache.org
Subject: WAR Dependency Mediation Problem

Hello,

 I have a war project for some web services that is having

Re: WAR Dependency Mediation Problem

2009-04-20 Thread Wayne Fay
 So the question is:  How are these duplicates ending up in my WAR file
 if they aren't showing up in the dependency tree?  I'm lost...

Try again with mvn clean package. It is possibly/likely that the
extra jars are from earlier builds and /target has not been cleaned
up.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: WAR Dependency Mediation Problem

2009-04-20 Thread Wolff, Dave
You're a life saver...that solved the issues.

Thanks!
Dave

-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com] 
Sent: Monday, April 20, 2009 12:28 PM
To: Maven Users List
Subject: Re: WAR Dependency Mediation Problem

 So the question is:  How are these duplicates ending up in my WAR file
 if they aren't showing up in the dependency tree?  I'm lost...

Try again with mvn clean package. It is possibly/likely that the
extra jars are from earlier builds and /target has not been cleaned
up.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-- 
BEGIN-ANTISPAM-VOTING-LINKS
--

Teach CanIt if this mail (ID 31760286) is spam:
Spam:http://antispam.letu.edu/canit/b.php?i=31760286m=6910a3624efbc=s
Not spam:http://antispam.letu.edu/canit/b.php?i=31760286m=6910a3624efbc=n
Forget vote: http://antispam.letu.edu/canit/b.php?i=31760286m=6910a3624efbc=f
--
END-ANTISPAM-VOTING-LINKS