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 dependency issues. I am getting multiple versions of my XML apis and XML parsers in the resulting war which results in my having to manually remove the older versions to avoid server-side SAAJ exceptions when attempting to access the SOAP envelope. For example, the lib folder of the war includes: xml-apis-1.0.b2.jar xml-apis-1.3.02.jar xercesImpl-2.6.2.jar xercesImpl-2.9.1.jar jdom-1.0.jar jdom-1.1.jar I would love to be able to get the duplicates removed so I can avoid this manual step in my deployment. I am using the default dependency plugin options (no configuration changes). Any help would be appreciated. Many thanks! Dave -- BEGIN-ANTISPAM-VOTING-LINKS ------------------------------------------------------ Teach CanIt if this mail (ID 31759062) is spam: Spam: http://antispam.letu.edu/canit/b.php?i=31759062&m=b2a696d832a1&c=s Not spam: http://antispam.letu.edu/canit/b.php?i=31759062&m=b2a696d832a1&c=n Forget vote: http://antispam.letu.edu/canit/b.php?i=31759062&m=b2a696d832a1&c=f ------------------------------------------------------ END-ANTISPAM-VOTING-LINKS --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org