You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gérald Quintana <ge...@gmail.com> on 2010/11/25 11:45:03 UTC

Mvn 3: Dependency list vs Dependency tree

Hello,

I have just migrated from Maven 2.0.9 to Maven 3.0.0. Everything
compiles, tests as expected, but it doesn't run. I get some useless
librairies in my WEB-INF\lib with old versions. Looking in the
dependency tree for the origin of theses dependencies, they are not
present. But they are present in dependency list! Look at the
net.sf.ehcache:ehcache:jar:1.5.0 or com.mycompany:fwk-i18nImpl:jar:1.5
or com.oracle:ojdbc14:jar:10.2.0.4.0 dependencies in the following
logs.

I have tried to tweak dependency exclusions without success.

What can I do to understand what's happening and fix it?

Gérald

[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ app-remoting ---
[INFO] com.mycompany:app-remoting:war:2.1.0-SNAPSHOT
[INFO] +- com.mycompany:app-facade1:jar:2.1.0-SNAPSHOT:compile
[INFO] |  +- com.mycompany:app-domain:jar:2.1.0-SNAPSHOT:compile
[INFO] |  |  +- com.mycompany:hab-domain:jar:1.1.6:compile
[INFO] |  |  +- com.mycompany:ref-domain:jar:1.6.4:compile
[INFO] |  |  +- com.mycompany:fwk-i18n:jar:1.6.6:compile
[INFO] |  |  +- javax.persistence:persistence-api:jar:1.0:compile
[INFO] |  |  +- net.sf.ehcache:ehcache-core:jar:2.1.0:runtime
[INFO] |  |  +-
backport-util-concurrent:backport-util-concurrent:jar:3.1:runtime
[INFO] |  |  \- net.sourceforge.jexcelapi:jxl:jar:2.6:compile
[INFO] |  \- com.mycompany:app-integration:jar:2.1.0-SNAPSHOT:compile
[INFO] |     +-
org.springframework.integration:spring-integration-core:jar:1.0.3.RELEASE:compile
[INFO] |     \-
org.springframework.integration:spring-integration-file:jar:1.0.3.RELEASE:compile
[INFO] +- com.mycompany:app-facade1Impl:jar:2.1.0-SNAPSHOT:runtime
[INFO] |  +- com.mycompany:hab-core-facade:jar:2.0.0:runtime
[INFO] |  |  \- com.mycompany:hab-core-domain:jar:2.0.0:runtime
[INFO] |  +- com.mycompany:ref-facade:jar:1.6.4:runtime
[INFO] |  +- com.mycompany:ref-facadeImpl:jar:1.6.4:runtime
[INFO] |  +- com.mycompany:ref-repository:jar:1.6.4:runtime
[INFO] |  +- com.mycompany:ref-repositoryImpl:jar:1.6.4:runtime
[INFO] |  +- org.springframework:spring-jms:jar:2.5.6:runtime
[INFO] |  +- javax.sql:jdbc-stdext:jar:2.0:runtime
[INFO] |  \- com.mycompany:syn-fwk-observer:jar:2.2.4:runtime
[INFO] +- com.mycompany:app-facade2:jar:2.1.0-SNAPSHOT:compile
[INFO] |  \- com.mycompany:arp-comm:jar:0.42:compile
[INFO] +- com.mycompany:app-facade2Impl:jar:2.1.0-SNAPSHOT:runtime
[INFO] |  +- com.mycompany:fwk-impression:jar:1.6.6:runtime
[INFO] |  +- com.mycompany:fwk-impressionImpl:jar:1.6.6:runtime
[INFO] |  |  +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7:runtime
[INFO] |  |  |  +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.7:runtime
[INFO] |  |  |  |  \- jaxen:jaxen:jar:1.1.1:runtime
[INFO] |  |  |  +-
org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:runtime
[INFO] |  |  |  +-
org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:runtime
[INFO] |  |  |  +- org.codehaus.woodstox:wstx-asl:jar:3.2.4:runtime
[INFO] |  |  |  \-
org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:runtime
[INFO] |  |  \- org.codehaus.castor:castor:jar:1.2:runtime
[INFO] |  +- org.springframework.ws:spring-ws-core:jar:1.5.7:runtime
[INFO] |  |  +- org.springframework.ws:spring-xml:jar:1.5.7:runtime
[INFO] |  |  +- org.springframework.ws:spring-oxm:jar:1.5.7:runtime
[INFO] |  |  \- wsdl4j:wsdl4j:jar:1.6.1:runtime
[INFO] |  +- org.springframework.ws:spring-ws-core-tiger:jar:1.5.7:runtime
[INFO] |  +- com.mycompany:hab-core-facadeImpl:jar:2.0.0:runtime
[INFO] |  |  \- com.mycompany:hab-core-repository:jar:2.0.0:runtime
[INFO] |  \- com.mycompany:hab-core-repositoryImpl:jar:2.0.0:runtime
[INFO] +- com.mycompany:app-commun:jar:2.1.0-SNAPSHOT:compile
[INFO] |  +- com.mycompany:etj-xom:jar:2.0.4:compile
[INFO] |  \- quartz:quartz:jar:1.6.5:compile
[INFO] +- com.mycompany:app-communImpl:jar:2.1.0-SNAPSHOT:runtime
[INFO] +- com.mycompany:app-integrationImpl:jar:2.1.0-SNAPSHOT:runtime
[INFO] |  +- org.springframework.integration:spring-integration-ws:jar:1.0.3.RELEASE:runtime
[INFO] |  |  \-
org.springframework.integration:spring-integration-adapter:jar:1.0.3.RELEASE:runtime
[INFO] |  +- org.springframework.integration:spring-integration-xml:jar:1.0.3.RELEASE:runtime
[INFO] |  +- org.springframework.ws:spring-oxm-tiger:jar:1.5.7:runtime
[INFO] |  \- org.springframework.integration:spring-integration-jms:jar:1.0.3.RELEASE:runtime
[INFO] +- com.mycompany:app-impression:jar:2.1.0-SNAPSHOT:runtime
[INFO] +- com.mycompany:syn-refRemoteFacade:jar:2.2.4-R1.6.4:runtime
[INFO] |  +- com.mycompany:syn-refSchema:jar:2.2.4-R1.6.4:runtime
[INFO] |  |  \- com.mycompany:syn-fwkSchema:jar:2.2.4-R1.6.4:runtime
[INFO] |  +- com.mycompany:syn-fwk-Moteur:jar:2.2.4:runtime
[INFO] |  |  \- com.mycompany:syn-fwk-observerImpl:jar:2.2.4:runtime
[INFO] |  +- org.springframework.integration:spring-integration-stream:jar:1.0.3.RELEASE:runtime
[INFO] |  \- com.thoughtworks.xstream:xstream:jar:1.3.1:runtime
[INFO] |     \- xpp3:xpp3_min:jar:1.1.4c:runtime
[INFO] +- com.mycompany:syn-habRemoteFacade:jar:2.2.4-R1.6.4-H1.1.5:runtime
[INFO] |  +- com.mycompany:syn-habSchema:jar:2.2.4-R1.6.4-H1.1.5:runtime
[INFO] |  +- com.mycompany:hab-facade:jar:1.1.5:runtime
[INFO] |  \- com.mycompany:hab-facadeImpl:jar:1.1.5:runtime
[INFO] +- com.mycompany:fwk-securityImpl:jar:1.6.6:compile
[INFO] |  +- com.mycompany:fwk-domain:jar:1.6.6:compile
[INFO] |  |  +- org.hibernate:hibernate-validator:jar:3.1.0.GA:compile
[INFO] |  |  \- org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga:compile
[INFO] |  +- com.mycompany:fwk-security:jar:1.6.6:compile
[INFO] |  |  \-
org.springframework.security:spring-security-core-tiger:jar:2.0.1:compile
[INFO] |  |     \-
org.springframework.security:spring-security-core:jar:2.0.1:compile
[INFO] |  +- com.mycompany:fwk-commons:jar:1.6.6:compile
[INFO] |  +- org.springframework:spring-orm:jar:2.5.6:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  +- org.springframework:spring-aop:jar:2.5.6:compile
[INFO] |  +- org.springframework:spring-beans:jar:2.5.6:compile
[INFO] |  +- org.springframework.ldap:spring-ldap:jar:1.2.1:compile
[INFO] |  +- org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile
[INFO] |  |  \- org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
[INFO] |  +- commons-codec:commons-codec:jar:1.3:compile
[INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] |  \- org.springframework:spring-context:jar:2.5.6:compile
[INFO] +- com.mycompany:hab-repositoryImpl:jar:1.1.6:runtime
[INFO] |  +- com.mycompany:hab-repository:jar:1.1.6:runtime
[INFO] |  +- javassist:javassist:jar:3.11.0.GA:compile
[INFO] |  +- commons-validator:commons-validator:jar:1.3.1:runtime
[INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.7.0:runtime
[INFO] |  |  \- commons-digester:commons-digester:jar:1.6:runtime
[INFO] |  \- oro:oro:jar:2.0.8:runtime
[INFO] +- com.mycompany:etj-ruleServiceImpl:jar:2.0.4:runtime
[INFO] |  +- com.ilog.jrules:jrules-bres-execution:jar:6.7.4:runtime
[INFO] |  |  \- com.ilog.jrules:jrules-engine:jar:6.7.4:runtime
[INFO] |  |     \- org.apache.bcel:bcel:jar:5.1:runtime
[INFO] |  +- com.ilog.jum:sam-arp:jar:1.0.0:runtime
[INFO] |  \- javax.resource:connector-api:jar:1.5:runtime
[INFO] +- com.mycompany:app-autotest:jar:2.1.0-SNAPSHOT:runtime
[INFO] |  \- com.mycompany:fwk-autotest:jar:1.6.6:runtime
[INFO] +- com.mycompany:fwk-remoting:jar:1.6.6:runtime
[INFO] +- com.mycompany:fwk-jmx:jar:1.6.6:runtime
[INFO] |  +- org.aspectj:aspectjrt:jar:1.6.2:runtime
[INFO] |  \- org.aspectj:aspectjweaver:jar:1.6.2:runtime
[INFO] +- log4j:apache-log4j-extras:jar:1.0:runtime
[INFO] +- org.hibernate:hibernate-core:jar:3.3.2.GA:compile
[INFO] |  +- antlr:antlr:jar:2.7.6:compile
[INFO] |  +- commons-collections:commons-collections:jar:3.2:compile
(version managed from 3.1)
[INFO] |  \- dom4j:dom4j:jar:1.6.1:compile
[INFO] +- org.hibernate:hibernate-jmx:jar:3.3.1.GA:runtime
[INFO] +- org.springframework:spring-web:jar:2.5.6:compile
[INFO] |  +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] |  \- org.springframework:spring-core:jar:2.5.6:compile
[INFO] +- org.springframework:spring-webmvc:jar:2.5.6:compile
[INFO] |  \- org.springframework:spring-context-support:jar:2.5.6:compile
[INFO] +- org.springframework:spring-jdbc:jar:2.5.6:compile
[INFO] |  \- org.springframework:spring-tx:jar:2.5.6:compile
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided
[INFO] +- log4j:log4j:jar:1.2.15:compile
[INFO] +- com.progress:sonic_Client:jar:7.6:provided (scope not
updated to runtime)
[INFO] +- com.progress:sonic_XA:jar:7.6:provided (scope not updated to runtime)
[INFO] +- com.progress:sonic_Crypto:jar:7.6:provided (scope not
updated to runtime)
[INFO] +- com.progress:sonic_XMessage:jar:7.6:provided (scope not
updated to runtime)
[INFO] +- com.sonicws:mfcontext:jar:7.6:provided (scope not updated to runtime)
[INFO] +- javax.transaction:jta:jar:1.1:provided (version managed from 1.0.1B)
[INFO] +- org.codehaus.btm:btm:jar:2.0.1:provided
[INFO] +- org.codehaus.btm:btm-tomcat55-lifecycle:jar:2.0.1:provided
[INFO] +- org.slf4j:slf4j-jdk14:jar:1.5.6:provided
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.6:runtime (scope not updated
to compile)
[INFO] |  \- org.slf4j:slf4j-api:jar:1.5.6:runtime
[INFO] +- quartz:quartz-oracle:jar:1.6.5:runtime
[INFO] +- xml-apis:xml-apis:jar:1.3.04:runtime (scope not updated to compile)
[INFO] +- javax.servlet:jstl:jar:1.1.2:compile
[INFO] +- taglibs:standard:jar:1.1.2:compile
[INFO] +- cglib:cglib:jar:2.2:runtime
[INFO] |  \- asm:asm:jar:3.1:runtime
[INFO] +- org.jamon:jamon:jar:2.7:provided
[INFO] +- com.mycompany:jamon-ext-commun:jar:1.0.4:compile
[INFO] |  +- com.oracle:ojdbc14:jar:10.2.0.4.0:runtime
[INFO] |  +- net.sf.opencsv:opencsv:jar:1.8:compile
[INFO] |  +- com.h2database:h2:jar:1.2.134:compile
[INFO] |  \- commons-lang:commons-lang:jar:2.5:compile
[INFO] +- com.mycompany:jamon-ext-management:jar:1.0.4:provided
[INFO] |  \- org.apache.tomcat:catalina:jar:6.0.18:provided
[INFO] |     +- org.apache.tomcat:servlet-api:jar:6.0.18:provided
[INFO] |     +- org.apache.tomcat:juli:jar:6.0.18:provided
[INFO] |     \- org.apache.tomcat:annotations-api:jar:6.0.18:provided
[INFO] +- com.oracle:ojdbc6:jar:11.2.0.1:provided
[INFO] +- net.sf.ehcache:ehcache-terracotta:jar:2.1.0:runtime
[INFO] +- com.mycompany:fwk-logging:jar:1.6.6:compile
[INFO] +- junit:junit:jar:4.4:test (scope not updated to compile)
[INFO] +- org.springframework:spring-test:jar:2.5.6:test (scope not
updated to compile)
[INFO] +- org.easymock:easymock:jar:2.5.2:test
[INFO] +- org.easymock:easymockclassextension:jar:2.5.2:test
[INFO] |  +- cglib:cglib-nodep:jar:2.2:test
[INFO] |  \- org.objenesis:objenesis:jar:1.2:test
[INFO] +- com.mycompany:fwk-test:jar:1.6.6:test
[INFO] |  \- org.dbunit:dbunit:jar:2.4.7:test
[INFO] \- com.google.code.findbugs:annotations:jar:1.3.9:provided

[INFO] --- maven-dependency-plugin:2.1:list (default-cli) @ app-remoting ---
[INFO]
[INFO] The following files have been resolved:
[INFO]    antlr:antlr:jar:2.7.6:compile
[INFO]    aopalliance:aopalliance:jar:1.0:compile
[INFO]    asm:asm:jar:3.1:runtime
[INFO]    backport-util-concurrent:backport-util-concurrent:jar:3.1:runtime
[INFO]    cglib:cglib:jar:2.2:runtime
[INFO]    cglib:cglib-nodep:jar:2.2:test
[INFO]    com.mycompany:arp-comm:jar:0.42:compile
[INFO]    com.mycompany:app-autotest:jar:2.1.0-SNAPSHOT:runtime
[INFO]    com.mycompany:app-commun:jar:2.1.0-SNAPSHOT:compile
[INFO]    com.mycompany:app-communImpl:jar:2.1.0-SNAPSHOT:runtime
[INFO]    com.mycompany:app-domain:jar:2.1.0-SNAPSHOT:compile
[INFO]    com.mycompany:app-facade2:jar:2.1.0-SNAPSHOT:compile
[INFO]    com.mycompany:app-facade2Impl:jar:2.1.0-SNAPSHOT:runtime
[INFO]    com.mycompany:app-facade1:jar:2.1.0-SNAPSHOT:compile
[INFO]    com.mycompany:app-facade1Impl:jar:2.1.0-SNAPSHOT:runtime
[INFO]    com.mycompany:app-impression:jar:2.1.0-SNAPSHOT:runtime
[INFO]    com.mycompany:app-integration:jar:2.1.0-SNAPSHOT:compile
[INFO]    com.mycompany:app-integrationImpl:jar:2.1.0-SNAPSHOT:runtime
[INFO]    com.mycompany:etj-ruleServiceImpl:jar:2.0.4:runtime
[INFO]    com.mycompany:etj-xom:jar:2.0.4:compile
[INFO]    com.mycompany:fwk-autotest:jar:1.6.6:runtime
[INFO]    com.mycompany:fwk-commons:jar:1.6.6:compile
[INFO]    com.mycompany:fwk-domain:jar:1.6:compile
[INFO]    com.mycompany:fwk-i18n:jar:1.6.6:compile
[INFO]    com.mycompany:fwk-i18nImpl:jar:1.5:compile
[INFO]    com.mycompany:fwk-impression:jar:1.6.6:runtime
[INFO]    com.mycompany:fwk-impressionImpl:jar:1.6.6:runtime
[INFO]    com.mycompany:fwk-jmx:jar:1.6.6:runtime
[INFO]    com.mycompany:fwk-logging:jar:1.6.6:compile
[INFO]    com.mycompany:fwk-remoting:jar:1.6.6:runtime
[INFO]    com.mycompany:fwk-security:jar:1.6.6:compile
[INFO]    com.mycompany:fwk-securityImpl:jar:1.6.6:compile
[INFO]    com.mycompany:fwk-test:jar:1.6.6:test
[INFO]    com.mycompany:hab-core-domain:jar:2.0.0:runtime
[INFO]    com.mycompany:hab-core-facade:jar:2.0.0:runtime
[INFO]    com.mycompany:hab-core-facadeImpl:jar:2.0.0:runtime
[INFO]    com.mycompany:hab-core-repository:jar:2.0.0:runtime
[INFO]    com.mycompany:hab-core-repositoryImpl:jar:2.0.0:runtime
[INFO]    com.mycompany:hab-domain:jar:1.1.5:compile
[INFO]    com.mycompany:hab-facade:jar:1.1.5:runtime
[INFO]    com.mycompany:hab-facadeImpl:jar:1.1.5:runtime
[INFO]    com.mycompany:hab-repository:jar:1.1.6:runtime
[INFO]    com.mycompany:hab-repositoryImpl:jar:1.1.6:runtime
[INFO]    com.mycompany:jamon-ext-commun:jar:1.0.4:compile
[INFO]    com.mycompany:jamon-ext-management:jar:1.0.4:provided
[INFO]    com.mycompany:ref-domain:jar:1.6.4:compile
[INFO]    com.mycompany:ref-facade:jar:1.6.4:runtime
[INFO]    com.mycompany:ref-facadeImpl:jar:1.6.4:runtime
[INFO]    com.mycompany:ref-repository:jar:1.6.4:runtime
[INFO]    com.mycompany:ref-repositoryImpl:jar:1.6.4:runtime
[INFO]    com.mycompany:syn-fwk-Moteur:jar:2.2.4:runtime
[INFO]    com.mycompany:syn-fwk-observer:jar:2.2.4:runtime
[INFO]    com.mycompany:syn-fwk-observerImpl:jar:2.2.4:runtime
[INFO]    com.mycompany:syn-fwkSchema:jar:2.2.4-R1.6.4:runtime
[INFO]    com.mycompany:syn-habRemoteFacade:jar:2.2.4-R1.6.4-H1.1.5:runtime
[INFO]    com.mycompany:syn-habSchema:jar:2.2.4-R1.6.4-H1.1.5:runtime
[INFO]    com.mycompany:syn-refRemoteFacade:jar:2.2.4-R1.6.4:runtime
[INFO]    com.mycompany:syn-refSchema:jar:2.2.4-R1.6.4:runtime
[INFO]    com.google.code.findbugs:annotations:jar:1.3.9:provided
[INFO]    com.h2database:h2:jar:1.2.134:compile
[INFO]    com.ilog.jrules:jrules-bres-execution:jar:6.7.4:runtime
[INFO]    com.ilog.jrules:jrules-engine:jar:6.7.4:runtime
[INFO]    com.ilog.jum:sam-arp:jar:1.0.0:runtime
[INFO]    com.oracle:ojdbc14:jar:10.2.0.4.0:runtime
[INFO]    com.oracle:ojdbc6:jar:11.2.0.1:provided
[INFO]    com.progress:sonic_Client:jar:7.6:provided
[INFO]    com.progress:sonic_Crypto:jar:7.6:provided
[INFO]    com.progress:sonic_XA:jar:7.6:provided
[INFO]    com.progress:sonic_XMessage:jar:7.6:provided
[INFO]    com.sonicws:mfcontext:jar:7.6:provided
[INFO]    com.thoughtworks.xstream:xstream:jar:1.3.1:runtime
[INFO]    commons-beanutils:commons-beanutils:jar:1.7.0:runtime
[INFO]    commons-codec:commons-codec:jar:1.3:compile
[INFO]    commons-collections:commons-collections:jar:3.2:compile
[INFO]    commons-digester:commons-digester:jar:1.6:runtime
[INFO]    commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO]    commons-lang:commons-lang:jar:2.5:compile
[INFO]    commons-logging:commons-logging:jar:1.1.1:compile
[INFO]    commons-validator:commons-validator:jar:1.3.1:runtime
[INFO]    dom4j:dom4j:jar:1.6.1:compile
[INFO]    javassist:javassist:jar:3.11.0.GA:compile
[INFO]    javax.persistence:persistence-api:jar:1.0:compile
[INFO]    javax.resource:connector-api:jar:1.5:runtime
[INFO]    javax.servlet:jstl:jar:1.1.2:compile
[INFO]    javax.servlet:servlet-api:jar:2.5:provided
[INFO]    javax.sql:jdbc-stdext:jar:2.0:runtime
[INFO]    javax.transaction:jta:jar:1.1:provided
[INFO]    jaxen:jaxen:jar:1.1.1:runtime
[INFO]    junit:junit:jar:4.4:test
[INFO]    log4j:apache-log4j-extras:jar:1.0:runtime
[INFO]    log4j:log4j:jar:1.2.15:compile
[INFO]    net.sf.ehcache:ehcache:jar:1.5.0:runtime
[INFO]    net.sf.ehcache:ehcache-core:jar:2.1.0:runtime
[INFO]    net.sf.ehcache:ehcache-terracotta:jar:2.1.0:runtime
[INFO]    net.sf.jsr107cache:jsr107cache:jar:1.0:runtime
[INFO]    net.sf.opencsv:opencsv:jar:1.8:compile
[INFO]    net.sourceforge.jexcelapi:jxl:jar:2.6:compile
[INFO]    org.apache.bcel:bcel:jar:5.1:runtime
[INFO]    org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:runtime
[INFO]    org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:runtime
[INFO]    org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:runtime
[INFO]    org.apache.tomcat:annotations-api:jar:6.0.18:provided
[INFO]    org.apache.tomcat:catalina:jar:6.0.18:provided
[INFO]    org.apache.tomcat:juli:jar:6.0.18:provided
[INFO]    org.apache.tomcat:servlet-api:jar:6.0.18:provided
[INFO]    org.apache.ws.commons.axiom:axiom-api:jar:1.2.7:runtime
[INFO]    org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7:runtime
[INFO]    org.aspectj:aspectjrt:jar:1.6.2:compile
[INFO]    org.aspectj:aspectjweaver:jar:1.6.2:runtime
[INFO]    org.codehaus.btm:btm:jar:2.0.1:provided
[INFO]    org.codehaus.btm:btm-tomcat55-lifecycle:jar:2.0.1:provided
[INFO]    org.codehaus.castor:castor:jar:1.2:runtime
[INFO]    org.codehaus.woodstox:wstx-asl:jar:3.2.4:runtime
[INFO]    org.dbunit:dbunit:jar:2.4.7:test
[INFO]    org.easymock:easymock:jar:2.5.2:test
[INFO]    org.easymock:easymockclassextension:jar:2.5.2:test
[INFO]    org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
[INFO]    org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile
[INFO]    org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga:compile
[INFO]    org.hibernate:hibernate-core:jar:3.3.2.GA:compile
[INFO]    org.hibernate:hibernate-jmx:jar:3.3.1.GA:runtime
[INFO]    org.hibernate:hibernate-validator:jar:3.1.0.GA:compile
[INFO]    org.jamon:jamon:jar:2.7:provided
[INFO]    org.objenesis:objenesis:jar:1.2:test
[INFO]    org.slf4j:slf4j-api:jar:1.5.6:compile
[INFO]    org.slf4j:slf4j-jdk14:jar:1.5.6:provided
[INFO]    org.slf4j:slf4j-log4j12:jar:1.5.6:runtime
[INFO]    org.springframework:spring-aop:jar:2.5.6:compile
[INFO]    org.springframework:spring-aspects: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]    org.springframework:spring-context-support:jar:2.5.6:compile
[INFO]    org.springframework:spring-core:jar:2.5.6:compile
[INFO]    org.springframework:spring-jdbc:jar:2.5.6:compile
[INFO]    org.springframework:spring-jms:jar:2.5.6:runtime
[INFO]    org.springframework:spring-orm:jar:2.5.6:compile
[INFO]    org.springframework:spring-test:jar:2.5.6:test
[INFO]    org.springframework:spring-tx:jar:2.5.6:compile
[INFO]    org.springframework:spring-web:jar:2.5.6:compile
[INFO]    org.springframework:spring-webmvc:jar:2.5.6:compile
[INFO]    org.springframework.integration:spring-integration-adapter:jar:1.0.3.RELEASE:runtime
[INFO]    org.springframework.integration:spring-integration-core:jar:1.0.3.RELEASE:compile
[INFO]    org.springframework.integration:spring-integration-file:jar:1.0.3.RELEASE:compile
[INFO]    org.springframework.integration:spring-integration-jms:jar:1.0.3.RELEASE:runtime
[INFO]    org.springframework.integration:spring-integration-stream:jar:1.0.3.RELEASE:runtime
[INFO]    org.springframework.integration:spring-integration-ws:jar:1.0.3.RELEASE:runtime
[INFO]    org.springframework.integration:spring-integration-xml:jar:1.0.3.RELEASE:runtime
[INFO]    org.springframework.ldap:spring-ldap:jar:1.2.1:compile
[INFO]    org.springframework.security:spring-security-core:jar:2.0.1:compile
[INFO]    org.springframework.security:spring-security-core-tiger:jar:2.0.1:compile
[INFO]    org.springframework.ws:spring-oxm:jar:1.5.7:runtime
[INFO]    org.springframework.ws:spring-oxm-tiger:jar:1.5.7:runtime
[INFO]    org.springframework.ws:spring-ws-core:jar:1.5.7:runtime
[INFO]    org.springframework.ws:spring-ws-core-tiger:jar:1.5.7:runtime
[INFO]    org.springframework.ws:spring-xml:jar:1.5.7:runtime
[INFO]    oro:oro:jar:2.0.8:runtime
[INFO]    quartz:quartz:jar:1.6.5:compile
[INFO]    quartz:quartz-oracle:jar:1.6.5:runtime
[INFO]    taglibs:standard:jar:1.1.2:compile
[INFO]    wsdl4j:wsdl4j:jar:1.6.1:runtime
[INFO]    xml-apis:xml-apis:jar:1.3.04:runtime
[INFO]    xpp3:xpp3_min:jar:1.1.4c:runtime

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


Re: Mvn 3: Dependency list vs Dependency tree

Posted by Gérald Quintana <ge...@gmail.com>.
Vincent,

You're right  for ojdbc14 but not for ehcache (tree contains
ehcache-core:jar:2.1.0) and fwk-i18nImpl:jar:1.5.
The effective POM doesn't help me to find the culprit.

Gérald

2010/11/25 Vincent Latombe <vi...@gmail.com>:
> Hello,
>
> check your dependency:tree again, I can see net.sf.ehcache:ehcache:jar:1.5.0
> and com.oracle:ojdbc14:jar:10.2.0.4.0 at least.
>
> I also recommend you to check help:effective-pom to check if these
> dependencies didn't get included through your pom hierarchy.
>
> Vincent
>
>
> 2010/11/25 Gérald Quintana <ge...@gmail.com>
>
>> Hello,
>>
>> I have just migrated from Maven 2.0.9 to Maven 3.0.0. Everything
>> compiles, tests as expected, but it doesn't run. I get some useless
>> librairies in my WEB-INF\lib with old versions. Looking in the
>> dependency tree for the origin of theses dependencies, they are not
>> present. But they are present in dependency list! Look at the
>> net.sf.ehcache:ehcache:jar:1.5.0 or com.mycompany:fwk-i18nImpl:jar:1.5
>> or com.oracle:ojdbc14:jar:10.2.0.4.0 dependencies in the following
>> logs.
>>
>> I have tried to tweak dependency exclusions without success.
>>
>> What can I do to understand what's happening and fix it?
>>
>> Gérald
>>
>> [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ app-remoting
>> ---
>> [INFO] com.mycompany:app-remoting:war:2.1.0-SNAPSHOT
>> [INFO] +- com.mycompany:app-facade1:jar:2.1.0-SNAPSHOT:compile
>> [INFO] |  +- com.mycompany:app-domain:jar:2.1.0-SNAPSHOT:compile
>> [INFO] |  |  +- com.mycompany:hab-domain:jar:1.1.6:compile
>> [INFO] |  |  +- com.mycompany:ref-domain:jar:1.6.4:compile
>> [INFO] |  |  +- com.mycompany:fwk-i18n:jar:1.6.6:compile
>> [INFO] |  |  +- javax.persistence:persistence-api:jar:1.0:compile
>> [INFO] |  |  +- net.sf.ehcache:ehcache-core:jar:2.1.0:runtime
>> [INFO] |  |  +-
>> backport-util-concurrent:backport-util-concurrent:jar:3.1:runtime
>> [INFO] |  |  \- net.sourceforge.jexcelapi:jxl:jar:2.6:compile
>> [INFO] |  \- com.mycompany:app-integration:jar:2.1.0-SNAPSHOT:compile
>> [INFO] |     +-
>>
>> org.springframework.integration:spring-integration-core:jar:1.0.3.RELEASE:compile
>> [INFO] |     \-
>>
>> org.springframework.integration:spring-integration-file:jar:1.0.3.RELEASE:compile
>> [INFO] +- com.mycompany:app-facade1Impl:jar:2.1.0-SNAPSHOT:runtime
>> [INFO] |  +- com.mycompany:hab-core-facade:jar:2.0.0:runtime
>> [INFO] |  |  \- com.mycompany:hab-core-domain:jar:2.0.0:runtime
>> [INFO] |  +- com.mycompany:ref-facade:jar:1.6.4:runtime
>> [INFO] |  +- com.mycompany:ref-facadeImpl:jar:1.6.4:runtime
>> [INFO] |  +- com.mycompany:ref-repository:jar:1.6.4:runtime
>> [INFO] |  +- com.mycompany:ref-repositoryImpl:jar:1.6.4:runtime
>> [INFO] |  +- org.springframework:spring-jms:jar:2.5.6:runtime
>> [INFO] |  +- javax.sql:jdbc-stdext:jar:2.0:runtime
>> [INFO] |  \- com.mycompany:syn-fwk-observer:jar:2.2.4:runtime
>> [INFO] +- com.mycompany:app-facade2:jar:2.1.0-SNAPSHOT:compile
>> [INFO] |  \- com.mycompany:arp-comm:jar:0.42:compile
>> [INFO] +- com.mycompany:app-facade2Impl:jar:2.1.0-SNAPSHOT:runtime
>> [INFO] |  +- com.mycompany:fwk-impression:jar:1.6.6:runtime
>> [INFO] |  +- com.mycompany:fwk-impressionImpl:jar:1.6.6:runtime
>> [INFO] |  |  +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7:runtime
>> [INFO] |  |  |  +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.7:runtime
>> [INFO] |  |  |  |  \- jaxen:jaxen:jar:1.1.1:runtime
>> [INFO] |  |  |  +-
>> org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:runtime
>> [INFO] |  |  |  +-
>> org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:runtime
>> [INFO] |  |  |  +- org.codehaus.woodstox:wstx-asl:jar:3.2.4:runtime
>> [INFO] |  |  |  \-
>> org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:runtime
>> [INFO] |  |  \- org.codehaus.castor:castor:jar:1.2:runtime
>> [INFO] |  +- org.springframework.ws:spring-ws-core:jar:1.5.7:runtime
>> [INFO] |  |  +- org.springframework.ws:spring-xml:jar:1.5.7:runtime
>> [INFO] |  |  +- org.springframework.ws:spring-oxm:jar:1.5.7:runtime
>> [INFO] |  |  \- wsdl4j:wsdl4j:jar:1.6.1:runtime
>> [INFO] |  +- org.springframework.ws:spring-ws-core-tiger:jar:1.5.7:runtime
>> [INFO] |  +- com.mycompany:hab-core-facadeImpl:jar:2.0.0:runtime
>> [INFO] |  |  \- com.mycompany:hab-core-repository:jar:2.0.0:runtime
>> [INFO] |  \- com.mycompany:hab-core-repositoryImpl:jar:2.0.0:runtime
>> [INFO] +- com.mycompany:app-commun:jar:2.1.0-SNAPSHOT:compile
>> [INFO] |  +- com.mycompany:etj-xom:jar:2.0.4:compile
>> [INFO] |  \- quartz:quartz:jar:1.6.5:compile
>> [INFO] +- com.mycompany:app-communImpl:jar:2.1.0-SNAPSHOT:runtime
>> [INFO] +- com.mycompany:app-integrationImpl:jar:2.1.0-SNAPSHOT:runtime
>> [INFO] |  +-
>> org.springframework.integration:spring-integration-ws:jar:1.0.3.RELEASE:runtime
>> [INFO] |  |  \-
>>
>> org.springframework.integration:spring-integration-adapter:jar:1.0.3.RELEASE:runtime
>> [INFO] |  +-
>> org.springframework.integration:spring-integration-xml:jar:1.0.3.RELEASE:runtime
>> [INFO] |  +- org.springframework.ws:spring-oxm-tiger:jar:1.5.7:runtime
>> [INFO] |  \-
>> org.springframework.integration:spring-integration-jms:jar:1.0.3.RELEASE:runtime
>> [INFO] +- com.mycompany:app-impression:jar:2.1.0-SNAPSHOT:runtime
>> [INFO] +- com.mycompany:syn-refRemoteFacade:jar:2.2.4-R1.6.4:runtime
>> [INFO] |  +- com.mycompany:syn-refSchema:jar:2.2.4-R1.6.4:runtime
>> [INFO] |  |  \- com.mycompany:syn-fwkSchema:jar:2.2.4-R1.6.4:runtime
>> [INFO] |  +- com.mycompany:syn-fwk-Moteur:jar:2.2.4:runtime
>> [INFO] |  |  \- com.mycompany:syn-fwk-observerImpl:jar:2.2.4:runtime
>> [INFO] |  +-
>> org.springframework.integration:spring-integration-stream:jar:1.0.3.RELEASE:runtime
>> [INFO] |  \- com.thoughtworks.xstream:xstream:jar:1.3.1:runtime
>> [INFO] |     \- xpp3:xpp3_min:jar:1.1.4c:runtime
>> [INFO] +- com.mycompany:syn-habRemoteFacade:jar:2.2.4-R1.6.4-H1.1.5:runtime
>> [INFO] |  +- com.mycompany:syn-habSchema:jar:2.2.4-R1.6.4-H1.1.5:runtime
>> [INFO] |  +- com.mycompany:hab-facade:jar:1.1.5:runtime
>> [INFO] |  \- com.mycompany:hab-facadeImpl:jar:1.1.5:runtime
>> [INFO] +- com.mycompany:fwk-securityImpl:jar:1.6.6:compile
>> [INFO] |  +- com.mycompany:fwk-domain:jar:1.6.6:compile
>> [INFO] |  |  +- org.hibernate:hibernate-validator:jar:3.1.0.GA:compile
>> [INFO] |  |  \- org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga:
>> compile
>> [INFO] |  +- com.mycompany:fwk-security:jar:1.6.6:compile
>> [INFO] |  |  \-
>> org.springframework.security:spring-security-core-tiger:jar:2.0.1:compile
>> [INFO] |  |     \-
>> org.springframework.security:spring-security-core:jar:2.0.1:compile
>> [INFO] |  +- com.mycompany:fwk-commons:jar:1.6.6:compile
>> [INFO] |  +- org.springframework:spring-orm:jar:2.5.6:compile
>> [INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
>> [INFO] |  +- org.springframework:spring-aop:jar:2.5.6:compile
>> [INFO] |  +- org.springframework:spring-beans:jar:2.5.6:compile
>> [INFO] |  +- org.springframework.ldap:spring-ldap:jar:1.2.1:compile
>> [INFO] |  +- org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile
>> [INFO] |  |  \- org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
>> [INFO] |  +- commons-codec:commons-codec:jar:1.3:compile
>> [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
>> [INFO] |  \- org.springframework:spring-context:jar:2.5.6:compile
>> [INFO] +- com.mycompany:hab-repositoryImpl:jar:1.1.6:runtime
>> [INFO] |  +- com.mycompany:hab-repository:jar:1.1.6:runtime
>> [INFO] |  +- javassist:javassist:jar:3.11.0.GA:compile
>> [INFO] |  +- commons-validator:commons-validator:jar:1.3.1:runtime
>> [INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.7.0:runtime
>> [INFO] |  |  \- commons-digester:commons-digester:jar:1.6:runtime
>> [INFO] |  \- oro:oro:jar:2.0.8:runtime
>> [INFO] +- com.mycompany:etj-ruleServiceImpl:jar:2.0.4:runtime
>> [INFO] |  +- com.ilog.jrules:jrules-bres-execution:jar:6.7.4:runtime
>> [INFO] |  |  \- com.ilog.jrules:jrules-engine:jar:6.7.4:runtime
>> [INFO] |  |     \- org.apache.bcel:bcel:jar:5.1:runtime
>> [INFO] |  +- com.ilog.jum:sam-arp:jar:1.0.0:runtime
>> [INFO] |  \- javax.resource:connector-api:jar:1.5:runtime
>> [INFO] +- com.mycompany:app-autotest:jar:2.1.0-SNAPSHOT:runtime
>> [INFO] |  \- com.mycompany:fwk-autotest:jar:1.6.6:runtime
>> [INFO] +- com.mycompany:fwk-remoting:jar:1.6.6:runtime
>> [INFO] +- com.mycompany:fwk-jmx:jar:1.6.6:runtime
>> [INFO] |  +- org.aspectj:aspectjrt:jar:1.6.2:runtime
>> [INFO] |  \- org.aspectj:aspectjweaver:jar:1.6.2:runtime
>> [INFO] +- log4j:apache-log4j-extras:jar:1.0:runtime
>> [INFO] +- org.hibernate:hibernate-core:jar:3.3.2.GA:compile
>> [INFO] |  +- antlr:antlr:jar:2.7.6:compile
>> [INFO] |  +- commons-collections:commons-collections:jar:3.2:compile
>> (version managed from 3.1)
>> [INFO] |  \- dom4j:dom4j:jar:1.6.1:compile
>> [INFO] +- org.hibernate:hibernate-jmx:jar:3.3.1.GA:runtime
>> [INFO] +- org.springframework:spring-web:jar:2.5.6:compile
>> [INFO] |  +- commons-logging:commons-logging:jar:1.1.1:compile
>> [INFO] |  \- org.springframework:spring-core:jar:2.5.6:compile
>> [INFO] +- org.springframework:spring-webmvc:jar:2.5.6:compile
>> [INFO] |  \- org.springframework:spring-context-support:jar:2.5.6:compile
>> [INFO] +- org.springframework:spring-jdbc:jar:2.5.6:compile
>> [INFO] |  \- org.springframework:spring-tx:jar:2.5.6:compile
>> [INFO] +- javax.servlet:servlet-api:jar:2.5:provided
>> [INFO] +- log4j:log4j:jar:1.2.15:compile
>> [INFO] +- com.progress:sonic_Client:jar:7.6:provided (scope not
>> updated to runtime)
>> [INFO] +- com.progress:sonic_XA:jar:7.6:provided (scope not updated to
>> runtime)
>> [INFO] +- com.progress:sonic_Crypto:jar:7.6:provided (scope not
>> updated to runtime)
>> [INFO] +- com.progress:sonic_XMessage:jar:7.6:provided (scope not
>> updated to runtime)
>> [INFO] +- com.sonicws:mfcontext:jar:7.6:provided (scope not updated to
>> runtime)
>> [INFO] +- javax.transaction:jta:jar:1.1:provided (version managed from
>> 1.0.1B)
>> [INFO] +- org.codehaus.btm:btm:jar:2.0.1:provided
>> [INFO] +- org.codehaus.btm:btm-tomcat55-lifecycle:jar:2.0.1:provided
>> [INFO] +- org.slf4j:slf4j-jdk14:jar:1.5.6:provided
>> [INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.6:runtime (scope not updated
>> to compile)
>> [INFO] |  \- org.slf4j:slf4j-api:jar:1.5.6:runtime
>> [INFO] +- quartz:quartz-oracle:jar:1.6.5:runtime
>> [INFO] +- xml-apis:xml-apis:jar:1.3.04:runtime (scope not updated to
>> compile)
>> [INFO] +- javax.servlet:jstl:jar:1.1.2:compile
>> [INFO] +- taglibs:standard:jar:1.1.2:compile
>> [INFO] +- cglib:cglib:jar:2.2:runtime
>> [INFO] |  \- asm:asm:jar:3.1:runtime
>> [INFO] +- org.jamon:jamon:jar:2.7:provided
>> [INFO] +- com.mycompany:jamon-ext-commun:jar:1.0.4:compile
>> [INFO] |  +- com.oracle:ojdbc14:jar:10.2.0.4.0:runtime
>> [INFO] |  +- net.sf.opencsv:opencsv:jar:1.8:compile
>> [INFO] |  +- com.h2database:h2:jar:1.2.134:compile
>> [INFO] |  \- commons-lang:commons-lang:jar:2.5:compile
>> [INFO] +- com.mycompany:jamon-ext-management:jar:1.0.4:provided
>> [INFO] |  \- org.apache.tomcat:catalina:jar:6.0.18:provided
>> [INFO] |     +- org.apache.tomcat:servlet-api:jar:6.0.18:provided
>> [INFO] |     +- org.apache.tomcat:juli:jar:6.0.18:provided
>> [INFO] |     \- org.apache.tomcat:annotations-api:jar:6.0.18:provided
>> [INFO] +- com.oracle:ojdbc6:jar:11.2.0.1:provided
>> [INFO] +- net.sf.ehcache:ehcache-terracotta:jar:2.1.0:runtime
>> [INFO] +- com.mycompany:fwk-logging:jar:1.6.6:compile
>> [INFO] +- junit:junit:jar:4.4:test (scope not updated to compile)
>> [INFO] +- org.springframework:spring-test:jar:2.5.6:test (scope not
>> updated to compile)
>> [INFO] +- org.easymock:easymock:jar:2.5.2:test
>> [INFO] +- org.easymock:easymockclassextension:jar:2.5.2:test
>> [INFO] |  +- cglib:cglib-nodep:jar:2.2:test
>> [INFO] |  \- org.objenesis:objenesis:jar:1.2:test
>> [INFO] +- com.mycompany:fwk-test:jar:1.6.6:test
>> [INFO] |  \- org.dbunit:dbunit:jar:2.4.7:test
>> [INFO] \- com.google.code.findbugs:annotations:jar:1.3.9:provided
>>
>> [INFO] --- maven-dependency-plugin:2.1:list (default-cli) @ app-remoting
>> ---
>> [INFO]
>> [INFO] The following files have been resolved:
>> [INFO]    antlr:antlr:jar:2.7.6:compile
>> [INFO]    aopalliance:aopalliance:jar:1.0:compile
>> [INFO]    asm:asm:jar:3.1:runtime
>> [INFO]    backport-util-concurrent:backport-util-concurrent:jar:3.1:runtime
>> [INFO]    cglib:cglib:jar:2.2:runtime
>> [INFO]    cglib:cglib-nodep:jar:2.2:test
>> [INFO]    com.mycompany:arp-comm:jar:0.42:compile
>> [INFO]    com.mycompany:app-autotest:jar:2.1.0-SNAPSHOT:runtime
>> [INFO]    com.mycompany:app-commun:jar:2.1.0-SNAPSHOT:compile
>> [INFO]    com.mycompany:app-communImpl:jar:2.1.0-SNAPSHOT:runtime
>> [INFO]    com.mycompany:app-domain:jar:2.1.0-SNAPSHOT:compile
>> [INFO]    com.mycompany:app-facade2:jar:2.1.0-SNAPSHOT:compile
>> [INFO]    com.mycompany:app-facade2Impl:jar:2.1.0-SNAPSHOT:runtime
>> [INFO]    com.mycompany:app-facade1:jar:2.1.0-SNAPSHOT:compile
>> [INFO]    com.mycompany:app-facade1Impl:jar:2.1.0-SNAPSHOT:runtime
>> [INFO]    com.mycompany:app-impression:jar:2.1.0-SNAPSHOT:runtime
>> [INFO]    com.mycompany:app-integration:jar:2.1.0-SNAPSHOT:compile
>> [INFO]    com.mycompany:app-integrationImpl:jar:2.1.0-SNAPSHOT:runtime
>> [INFO]    com.mycompany:etj-ruleServiceImpl:jar:2.0.4:runtime
>> [INFO]    com.mycompany:etj-xom:jar:2.0.4:compile
>> [INFO]    com.mycompany:fwk-autotest:jar:1.6.6:runtime
>> [INFO]    com.mycompany:fwk-commons:jar:1.6.6:compile
>> [INFO]    com.mycompany:fwk-domain:jar:1.6:compile
>> [INFO]    com.mycompany:fwk-i18n:jar:1.6.6:compile
>> [INFO]    com.mycompany:fwk-i18nImpl:jar:1.5:compile
>> [INFO]    com.mycompany:fwk-impression:jar:1.6.6:runtime
>> [INFO]    com.mycompany:fwk-impressionImpl:jar:1.6.6:runtime
>> [INFO]    com.mycompany:fwk-jmx:jar:1.6.6:runtime
>> [INFO]    com.mycompany:fwk-logging:jar:1.6.6:compile
>> [INFO]    com.mycompany:fwk-remoting:jar:1.6.6:runtime
>> [INFO]    com.mycompany:fwk-security:jar:1.6.6:compile
>> [INFO]    com.mycompany:fwk-securityImpl:jar:1.6.6:compile
>> [INFO]    com.mycompany:fwk-test:jar:1.6.6:test
>> [INFO]    com.mycompany:hab-core-domain:jar:2.0.0:runtime
>> [INFO]    com.mycompany:hab-core-facade:jar:2.0.0:runtime
>> [INFO]    com.mycompany:hab-core-facadeImpl:jar:2.0.0:runtime
>> [INFO]    com.mycompany:hab-core-repository:jar:2.0.0:runtime
>> [INFO]    com.mycompany:hab-core-repositoryImpl:jar:2.0.0:runtime
>> [INFO]    com.mycompany:hab-domain:jar:1.1.5:compile
>> [INFO]    com.mycompany:hab-facade:jar:1.1.5:runtime
>> [INFO]    com.mycompany:hab-facadeImpl:jar:1.1.5:runtime
>> [INFO]    com.mycompany:hab-repository:jar:1.1.6:runtime
>> [INFO]    com.mycompany:hab-repositoryImpl:jar:1.1.6:runtime
>> [INFO]    com.mycompany:jamon-ext-commun:jar:1.0.4:compile
>> [INFO]    com.mycompany:jamon-ext-management:jar:1.0.4:provided
>> [INFO]    com.mycompany:ref-domain:jar:1.6.4:compile
>> [INFO]    com.mycompany:ref-facade:jar:1.6.4:runtime
>> [INFO]    com.mycompany:ref-facadeImpl:jar:1.6.4:runtime
>> [INFO]    com.mycompany:ref-repository:jar:1.6.4:runtime
>> [INFO]    com.mycompany:ref-repositoryImpl:jar:1.6.4:runtime
>> [INFO]    com.mycompany:syn-fwk-Moteur:jar:2.2.4:runtime
>> [INFO]    com.mycompany:syn-fwk-observer:jar:2.2.4:runtime
>> [INFO]    com.mycompany:syn-fwk-observerImpl:jar:2.2.4:runtime
>> [INFO]    com.mycompany:syn-fwkSchema:jar:2.2.4-R1.6.4:runtime
>> [INFO]    com.mycompany:syn-habRemoteFacade:jar:2.2.4-R1.6.4-H1.1.5:runtime
>> [INFO]    com.mycompany:syn-habSchema:jar:2.2.4-R1.6.4-H1.1.5:runtime
>> [INFO]    com.mycompany:syn-refRemoteFacade:jar:2.2.4-R1.6.4:runtime
>> [INFO]    com.mycompany:syn-refSchema:jar:2.2.4-R1.6.4:runtime
>> [INFO]    com.google.code.findbugs:annotations:jar:1.3.9:provided
>> [INFO]    com.h2database:h2:jar:1.2.134:compile
>> [INFO]    com.ilog.jrules:jrules-bres-execution:jar:6.7.4:runtime
>> [INFO]    com.ilog.jrules:jrules-engine:jar:6.7.4:runtime
>> [INFO]    com.ilog.jum:sam-arp:jar:1.0.0:runtime
>> [INFO]    com.oracle:ojdbc14:jar:10.2.0.4.0:runtime
>> [INFO]    com.oracle:ojdbc6:jar:11.2.0.1:provided
>> [INFO]    com.progress:sonic_Client:jar:7.6:provided
>> [INFO]    com.progress:sonic_Crypto:jar:7.6:provided
>> [INFO]    com.progress:sonic_XA:jar:7.6:provided
>> [INFO]    com.progress:sonic_XMessage:jar:7.6:provided
>> [INFO]    com.sonicws:mfcontext:jar:7.6:provided
>> [INFO]    com.thoughtworks.xstream:xstream:jar:1.3.1:runtime
>> [INFO]    commons-beanutils:commons-beanutils:jar:1.7.0:runtime
>> [INFO]    commons-codec:commons-codec:jar:1.3:compile
>> [INFO]    commons-collections:commons-collections:jar:3.2:compile
>> [INFO]    commons-digester:commons-digester:jar:1.6:runtime
>> [INFO]    commons-httpclient:commons-httpclient:jar:3.1:compile
>> [INFO]    commons-lang:commons-lang:jar:2.5:compile
>> [INFO]    commons-logging:commons-logging:jar:1.1.1:compile
>> [INFO]    commons-validator:commons-validator:jar:1.3.1:runtime
>> [INFO]    dom4j:dom4j:jar:1.6.1:compile
>> [INFO]    javassist:javassist:jar:3.11.0.GA:compile
>> [INFO]    javax.persistence:persistence-api:jar:1.0:compile
>> [INFO]    javax.resource:connector-api:jar:1.5:runtime
>> [INFO]    javax.servlet:jstl:jar:1.1.2:compile
>> [INFO]    javax.servlet:servlet-api:jar:2.5:provided
>> [INFO]    javax.sql:jdbc-stdext:jar:2.0:runtime
>> [INFO]    javax.transaction:jta:jar:1.1:provided
>> [INFO]    jaxen:jaxen:jar:1.1.1:runtime
>> [INFO]    junit:junit:jar:4.4:test
>> [INFO]    log4j:apache-log4j-extras:jar:1.0:runtime
>> [INFO]    log4j:log4j:jar:1.2.15:compile
>> [INFO]    net.sf.ehcache:ehcache:jar:1.5.0:runtime
>> [INFO]    net.sf.ehcache:ehcache-core:jar:2.1.0:runtime
>> [INFO]    net.sf.ehcache:ehcache-terracotta:jar:2.1.0:runtime
>> [INFO]    net.sf.jsr107cache:jsr107cache:jar:1.0:runtime
>> [INFO]    net.sf.opencsv:opencsv:jar:1.8:compile
>> [INFO]    net.sourceforge.jexcelapi:jxl:jar:2.6:compile
>> [INFO]    org.apache.bcel:bcel:jar:5.1:runtime
>> [INFO]
>>  org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:runtime
>> [INFO]
>>  org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:runtime
>> [INFO]
>>  org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:runtime
>> [INFO]    org.apache.tomcat:annotations-api:jar:6.0.18:provided
>> [INFO]    org.apache.tomcat:catalina:jar:6.0.18:provided
>> [INFO]    org.apache.tomcat:juli:jar:6.0.18:provided
>> [INFO]    org.apache.tomcat:servlet-api:jar:6.0.18:provided
>> [INFO]    org.apache.ws.commons.axiom:axiom-api:jar:1.2.7:runtime
>> [INFO]    org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7:runtime
>> [INFO]    org.aspectj:aspectjrt:jar:1.6.2:compile
>> [INFO]    org.aspectj:aspectjweaver:jar:1.6.2:runtime
>> [INFO]    org.codehaus.btm:btm:jar:2.0.1:provided
>> [INFO]    org.codehaus.btm:btm-tomcat55-lifecycle:jar:2.0.1:provided
>> [INFO]    org.codehaus.castor:castor:jar:1.2:runtime
>> [INFO]    org.codehaus.woodstox:wstx-asl:jar:3.2.4:runtime
>> [INFO]    org.dbunit:dbunit:jar:2.4.7:test
>> [INFO]    org.easymock:easymock:jar:2.5.2:test
>> [INFO]    org.easymock:easymockclassextension:jar:2.5.2:test
>> [INFO]    org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
>> [INFO]    org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile
>> [INFO]    org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga:compile
>> [INFO]    org.hibernate:hibernate-core:jar:3.3.2.GA:compile
>> [INFO]    org.hibernate:hibernate-jmx:jar:3.3.1.GA:runtime
>> [INFO]    org.hibernate:hibernate-validator:jar:3.1.0.GA:compile
>> [INFO]    org.jamon:jamon:jar:2.7:provided
>> [INFO]    org.objenesis:objenesis:jar:1.2:test
>> [INFO]    org.slf4j:slf4j-api:jar:1.5.6:compile
>> [INFO]    org.slf4j:slf4j-jdk14:jar:1.5.6:provided
>> [INFO]    org.slf4j:slf4j-log4j12:jar:1.5.6:runtime
>> [INFO]    org.springframework:spring-aop:jar:2.5.6:compile
>> [INFO]    org.springframework:spring-aspects: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]    org.springframework:spring-context-support:jar:2.5.6:compile
>> [INFO]    org.springframework:spring-core:jar:2.5.6:compile
>> [INFO]    org.springframework:spring-jdbc:jar:2.5.6:compile
>> [INFO]    org.springframework:spring-jms:jar:2.5.6:runtime
>> [INFO]    org.springframework:spring-orm:jar:2.5.6:compile
>> [INFO]    org.springframework:spring-test:jar:2.5.6:test
>> [INFO]    org.springframework:spring-tx:jar:2.5.6:compile
>> [INFO]    org.springframework:spring-web:jar:2.5.6:compile
>> [INFO]    org.springframework:spring-webmvc:jar:2.5.6:compile
>> [INFO]
>>  org.springframework.integration:spring-integration-adapter:jar:1.0.3.RELEASE:runtime
>> [INFO]
>>  org.springframework.integration:spring-integration-core:jar:1.0.3.RELEASE:compile
>> [INFO]
>>  org.springframework.integration:spring-integration-file:jar:1.0.3.RELEASE:compile
>> [INFO]
>>  org.springframework.integration:spring-integration-jms:jar:1.0.3.RELEASE:runtime
>> [INFO]
>>  org.springframework.integration:spring-integration-stream:jar:1.0.3.RELEASE:runtime
>> [INFO]
>>  org.springframework.integration:spring-integration-ws:jar:1.0.3.RELEASE:runtime
>> [INFO]
>>  org.springframework.integration:spring-integration-xml:jar:1.0.3.RELEASE:runtime
>> [INFO]    org.springframework.ldap:spring-ldap:jar:1.2.1:compile
>> [INFO]
>>  org.springframework.security:spring-security-core:jar:2.0.1:compile
>> [INFO]
>>  org.springframework.security:spring-security-core-tiger:jar:2.0.1:compile
>> [INFO]    org.springframework.ws:spring-oxm:jar:1.5.7:runtime
>> [INFO]    org.springframework.ws:spring-oxm-tiger:jar:1.5.7:runtime
>> [INFO]    org.springframework.ws:spring-ws-core:jar:1.5.7:runtime
>> [INFO]    org.springframework.ws:spring-ws-core-tiger:jar:1.5.7:runtime
>> [INFO]    org.springframework.ws:spring-xml:jar:1.5.7:runtime
>> [INFO]    oro:oro:jar:2.0.8:runtime
>> [INFO]    quartz:quartz:jar:1.6.5:compile
>> [INFO]    quartz:quartz-oracle:jar:1.6.5:runtime
>> [INFO]    taglibs:standard:jar:1.1.2:compile
>> [INFO]    wsdl4j:wsdl4j:jar:1.6.1:runtime
>> [INFO]    xml-apis:xml-apis:jar:1.3.04:runtime
>> [INFO]    xpp3:xpp3_min:jar:1.1.4c:runtime
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

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


Re: Mvn 3: Dependency list vs Dependency tree

Posted by Vincent Latombe <vi...@gmail.com>.
Hello,

check your dependency:tree again, I can see net.sf.ehcache:ehcache:jar:1.5.0
and com.oracle:ojdbc14:jar:10.2.0.4.0 at least.

I also recommend you to check help:effective-pom to check if these
dependencies didn't get included through your pom hierarchy.

Vincent


2010/11/25 Gérald Quintana <ge...@gmail.com>

> Hello,
>
> I have just migrated from Maven 2.0.9 to Maven 3.0.0. Everything
> compiles, tests as expected, but it doesn't run. I get some useless
> librairies in my WEB-INF\lib with old versions. Looking in the
> dependency tree for the origin of theses dependencies, they are not
> present. But they are present in dependency list! Look at the
> net.sf.ehcache:ehcache:jar:1.5.0 or com.mycompany:fwk-i18nImpl:jar:1.5
> or com.oracle:ojdbc14:jar:10.2.0.4.0 dependencies in the following
> logs.
>
> I have tried to tweak dependency exclusions without success.
>
> What can I do to understand what's happening and fix it?
>
> Gérald
>
> [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ app-remoting
> ---
> [INFO] com.mycompany:app-remoting:war:2.1.0-SNAPSHOT
> [INFO] +- com.mycompany:app-facade1:jar:2.1.0-SNAPSHOT:compile
> [INFO] |  +- com.mycompany:app-domain:jar:2.1.0-SNAPSHOT:compile
> [INFO] |  |  +- com.mycompany:hab-domain:jar:1.1.6:compile
> [INFO] |  |  +- com.mycompany:ref-domain:jar:1.6.4:compile
> [INFO] |  |  +- com.mycompany:fwk-i18n:jar:1.6.6:compile
> [INFO] |  |  +- javax.persistence:persistence-api:jar:1.0:compile
> [INFO] |  |  +- net.sf.ehcache:ehcache-core:jar:2.1.0:runtime
> [INFO] |  |  +-
> backport-util-concurrent:backport-util-concurrent:jar:3.1:runtime
> [INFO] |  |  \- net.sourceforge.jexcelapi:jxl:jar:2.6:compile
> [INFO] |  \- com.mycompany:app-integration:jar:2.1.0-SNAPSHOT:compile
> [INFO] |     +-
>
> org.springframework.integration:spring-integration-core:jar:1.0.3.RELEASE:compile
> [INFO] |     \-
>
> org.springframework.integration:spring-integration-file:jar:1.0.3.RELEASE:compile
> [INFO] +- com.mycompany:app-facade1Impl:jar:2.1.0-SNAPSHOT:runtime
> [INFO] |  +- com.mycompany:hab-core-facade:jar:2.0.0:runtime
> [INFO] |  |  \- com.mycompany:hab-core-domain:jar:2.0.0:runtime
> [INFO] |  +- com.mycompany:ref-facade:jar:1.6.4:runtime
> [INFO] |  +- com.mycompany:ref-facadeImpl:jar:1.6.4:runtime
> [INFO] |  +- com.mycompany:ref-repository:jar:1.6.4:runtime
> [INFO] |  +- com.mycompany:ref-repositoryImpl:jar:1.6.4:runtime
> [INFO] |  +- org.springframework:spring-jms:jar:2.5.6:runtime
> [INFO] |  +- javax.sql:jdbc-stdext:jar:2.0:runtime
> [INFO] |  \- com.mycompany:syn-fwk-observer:jar:2.2.4:runtime
> [INFO] +- com.mycompany:app-facade2:jar:2.1.0-SNAPSHOT:compile
> [INFO] |  \- com.mycompany:arp-comm:jar:0.42:compile
> [INFO] +- com.mycompany:app-facade2Impl:jar:2.1.0-SNAPSHOT:runtime
> [INFO] |  +- com.mycompany:fwk-impression:jar:1.6.6:runtime
> [INFO] |  +- com.mycompany:fwk-impressionImpl:jar:1.6.6:runtime
> [INFO] |  |  +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7:runtime
> [INFO] |  |  |  +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.7:runtime
> [INFO] |  |  |  |  \- jaxen:jaxen:jar:1.1.1:runtime
> [INFO] |  |  |  +-
> org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:runtime
> [INFO] |  |  |  +-
> org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:runtime
> [INFO] |  |  |  +- org.codehaus.woodstox:wstx-asl:jar:3.2.4:runtime
> [INFO] |  |  |  \-
> org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:runtime
> [INFO] |  |  \- org.codehaus.castor:castor:jar:1.2:runtime
> [INFO] |  +- org.springframework.ws:spring-ws-core:jar:1.5.7:runtime
> [INFO] |  |  +- org.springframework.ws:spring-xml:jar:1.5.7:runtime
> [INFO] |  |  +- org.springframework.ws:spring-oxm:jar:1.5.7:runtime
> [INFO] |  |  \- wsdl4j:wsdl4j:jar:1.6.1:runtime
> [INFO] |  +- org.springframework.ws:spring-ws-core-tiger:jar:1.5.7:runtime
> [INFO] |  +- com.mycompany:hab-core-facadeImpl:jar:2.0.0:runtime
> [INFO] |  |  \- com.mycompany:hab-core-repository:jar:2.0.0:runtime
> [INFO] |  \- com.mycompany:hab-core-repositoryImpl:jar:2.0.0:runtime
> [INFO] +- com.mycompany:app-commun:jar:2.1.0-SNAPSHOT:compile
> [INFO] |  +- com.mycompany:etj-xom:jar:2.0.4:compile
> [INFO] |  \- quartz:quartz:jar:1.6.5:compile
> [INFO] +- com.mycompany:app-communImpl:jar:2.1.0-SNAPSHOT:runtime
> [INFO] +- com.mycompany:app-integrationImpl:jar:2.1.0-SNAPSHOT:runtime
> [INFO] |  +-
> org.springframework.integration:spring-integration-ws:jar:1.0.3.RELEASE:runtime
> [INFO] |  |  \-
>
> org.springframework.integration:spring-integration-adapter:jar:1.0.3.RELEASE:runtime
> [INFO] |  +-
> org.springframework.integration:spring-integration-xml:jar:1.0.3.RELEASE:runtime
> [INFO] |  +- org.springframework.ws:spring-oxm-tiger:jar:1.5.7:runtime
> [INFO] |  \-
> org.springframework.integration:spring-integration-jms:jar:1.0.3.RELEASE:runtime
> [INFO] +- com.mycompany:app-impression:jar:2.1.0-SNAPSHOT:runtime
> [INFO] +- com.mycompany:syn-refRemoteFacade:jar:2.2.4-R1.6.4:runtime
> [INFO] |  +- com.mycompany:syn-refSchema:jar:2.2.4-R1.6.4:runtime
> [INFO] |  |  \- com.mycompany:syn-fwkSchema:jar:2.2.4-R1.6.4:runtime
> [INFO] |  +- com.mycompany:syn-fwk-Moteur:jar:2.2.4:runtime
> [INFO] |  |  \- com.mycompany:syn-fwk-observerImpl:jar:2.2.4:runtime
> [INFO] |  +-
> org.springframework.integration:spring-integration-stream:jar:1.0.3.RELEASE:runtime
> [INFO] |  \- com.thoughtworks.xstream:xstream:jar:1.3.1:runtime
> [INFO] |     \- xpp3:xpp3_min:jar:1.1.4c:runtime
> [INFO] +- com.mycompany:syn-habRemoteFacade:jar:2.2.4-R1.6.4-H1.1.5:runtime
> [INFO] |  +- com.mycompany:syn-habSchema:jar:2.2.4-R1.6.4-H1.1.5:runtime
> [INFO] |  +- com.mycompany:hab-facade:jar:1.1.5:runtime
> [INFO] |  \- com.mycompany:hab-facadeImpl:jar:1.1.5:runtime
> [INFO] +- com.mycompany:fwk-securityImpl:jar:1.6.6:compile
> [INFO] |  +- com.mycompany:fwk-domain:jar:1.6.6:compile
> [INFO] |  |  +- org.hibernate:hibernate-validator:jar:3.1.0.GA:compile
> [INFO] |  |  \- org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga:
> compile
> [INFO] |  +- com.mycompany:fwk-security:jar:1.6.6:compile
> [INFO] |  |  \-
> org.springframework.security:spring-security-core-tiger:jar:2.0.1:compile
> [INFO] |  |     \-
> org.springframework.security:spring-security-core:jar:2.0.1:compile
> [INFO] |  +- com.mycompany:fwk-commons:jar:1.6.6:compile
> [INFO] |  +- org.springframework:spring-orm:jar:2.5.6:compile
> [INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
> [INFO] |  +- org.springframework:spring-aop:jar:2.5.6:compile
> [INFO] |  +- org.springframework:spring-beans:jar:2.5.6:compile
> [INFO] |  +- org.springframework.ldap:spring-ldap:jar:1.2.1:compile
> [INFO] |  +- org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile
> [INFO] |  |  \- org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
> [INFO] |  +- commons-codec:commons-codec:jar:1.3:compile
> [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
> [INFO] |  \- org.springframework:spring-context:jar:2.5.6:compile
> [INFO] +- com.mycompany:hab-repositoryImpl:jar:1.1.6:runtime
> [INFO] |  +- com.mycompany:hab-repository:jar:1.1.6:runtime
> [INFO] |  +- javassist:javassist:jar:3.11.0.GA:compile
> [INFO] |  +- commons-validator:commons-validator:jar:1.3.1:runtime
> [INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.7.0:runtime
> [INFO] |  |  \- commons-digester:commons-digester:jar:1.6:runtime
> [INFO] |  \- oro:oro:jar:2.0.8:runtime
> [INFO] +- com.mycompany:etj-ruleServiceImpl:jar:2.0.4:runtime
> [INFO] |  +- com.ilog.jrules:jrules-bres-execution:jar:6.7.4:runtime
> [INFO] |  |  \- com.ilog.jrules:jrules-engine:jar:6.7.4:runtime
> [INFO] |  |     \- org.apache.bcel:bcel:jar:5.1:runtime
> [INFO] |  +- com.ilog.jum:sam-arp:jar:1.0.0:runtime
> [INFO] |  \- javax.resource:connector-api:jar:1.5:runtime
> [INFO] +- com.mycompany:app-autotest:jar:2.1.0-SNAPSHOT:runtime
> [INFO] |  \- com.mycompany:fwk-autotest:jar:1.6.6:runtime
> [INFO] +- com.mycompany:fwk-remoting:jar:1.6.6:runtime
> [INFO] +- com.mycompany:fwk-jmx:jar:1.6.6:runtime
> [INFO] |  +- org.aspectj:aspectjrt:jar:1.6.2:runtime
> [INFO] |  \- org.aspectj:aspectjweaver:jar:1.6.2:runtime
> [INFO] +- log4j:apache-log4j-extras:jar:1.0:runtime
> [INFO] +- org.hibernate:hibernate-core:jar:3.3.2.GA:compile
> [INFO] |  +- antlr:antlr:jar:2.7.6:compile
> [INFO] |  +- commons-collections:commons-collections:jar:3.2:compile
> (version managed from 3.1)
> [INFO] |  \- dom4j:dom4j:jar:1.6.1:compile
> [INFO] +- org.hibernate:hibernate-jmx:jar:3.3.1.GA:runtime
> [INFO] +- org.springframework:spring-web:jar:2.5.6:compile
> [INFO] |  +- commons-logging:commons-logging:jar:1.1.1:compile
> [INFO] |  \- org.springframework:spring-core:jar:2.5.6:compile
> [INFO] +- org.springframework:spring-webmvc:jar:2.5.6:compile
> [INFO] |  \- org.springframework:spring-context-support:jar:2.5.6:compile
> [INFO] +- org.springframework:spring-jdbc:jar:2.5.6:compile
> [INFO] |  \- org.springframework:spring-tx:jar:2.5.6:compile
> [INFO] +- javax.servlet:servlet-api:jar:2.5:provided
> [INFO] +- log4j:log4j:jar:1.2.15:compile
> [INFO] +- com.progress:sonic_Client:jar:7.6:provided (scope not
> updated to runtime)
> [INFO] +- com.progress:sonic_XA:jar:7.6:provided (scope not updated to
> runtime)
> [INFO] +- com.progress:sonic_Crypto:jar:7.6:provided (scope not
> updated to runtime)
> [INFO] +- com.progress:sonic_XMessage:jar:7.6:provided (scope not
> updated to runtime)
> [INFO] +- com.sonicws:mfcontext:jar:7.6:provided (scope not updated to
> runtime)
> [INFO] +- javax.transaction:jta:jar:1.1:provided (version managed from
> 1.0.1B)
> [INFO] +- org.codehaus.btm:btm:jar:2.0.1:provided
> [INFO] +- org.codehaus.btm:btm-tomcat55-lifecycle:jar:2.0.1:provided
> [INFO] +- org.slf4j:slf4j-jdk14:jar:1.5.6:provided
> [INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.6:runtime (scope not updated
> to compile)
> [INFO] |  \- org.slf4j:slf4j-api:jar:1.5.6:runtime
> [INFO] +- quartz:quartz-oracle:jar:1.6.5:runtime
> [INFO] +- xml-apis:xml-apis:jar:1.3.04:runtime (scope not updated to
> compile)
> [INFO] +- javax.servlet:jstl:jar:1.1.2:compile
> [INFO] +- taglibs:standard:jar:1.1.2:compile
> [INFO] +- cglib:cglib:jar:2.2:runtime
> [INFO] |  \- asm:asm:jar:3.1:runtime
> [INFO] +- org.jamon:jamon:jar:2.7:provided
> [INFO] +- com.mycompany:jamon-ext-commun:jar:1.0.4:compile
> [INFO] |  +- com.oracle:ojdbc14:jar:10.2.0.4.0:runtime
> [INFO] |  +- net.sf.opencsv:opencsv:jar:1.8:compile
> [INFO] |  +- com.h2database:h2:jar:1.2.134:compile
> [INFO] |  \- commons-lang:commons-lang:jar:2.5:compile
> [INFO] +- com.mycompany:jamon-ext-management:jar:1.0.4:provided
> [INFO] |  \- org.apache.tomcat:catalina:jar:6.0.18:provided
> [INFO] |     +- org.apache.tomcat:servlet-api:jar:6.0.18:provided
> [INFO] |     +- org.apache.tomcat:juli:jar:6.0.18:provided
> [INFO] |     \- org.apache.tomcat:annotations-api:jar:6.0.18:provided
> [INFO] +- com.oracle:ojdbc6:jar:11.2.0.1:provided
> [INFO] +- net.sf.ehcache:ehcache-terracotta:jar:2.1.0:runtime
> [INFO] +- com.mycompany:fwk-logging:jar:1.6.6:compile
> [INFO] +- junit:junit:jar:4.4:test (scope not updated to compile)
> [INFO] +- org.springframework:spring-test:jar:2.5.6:test (scope not
> updated to compile)
> [INFO] +- org.easymock:easymock:jar:2.5.2:test
> [INFO] +- org.easymock:easymockclassextension:jar:2.5.2:test
> [INFO] |  +- cglib:cglib-nodep:jar:2.2:test
> [INFO] |  \- org.objenesis:objenesis:jar:1.2:test
> [INFO] +- com.mycompany:fwk-test:jar:1.6.6:test
> [INFO] |  \- org.dbunit:dbunit:jar:2.4.7:test
> [INFO] \- com.google.code.findbugs:annotations:jar:1.3.9:provided
>
> [INFO] --- maven-dependency-plugin:2.1:list (default-cli) @ app-remoting
> ---
> [INFO]
> [INFO] The following files have been resolved:
> [INFO]    antlr:antlr:jar:2.7.6:compile
> [INFO]    aopalliance:aopalliance:jar:1.0:compile
> [INFO]    asm:asm:jar:3.1:runtime
> [INFO]    backport-util-concurrent:backport-util-concurrent:jar:3.1:runtime
> [INFO]    cglib:cglib:jar:2.2:runtime
> [INFO]    cglib:cglib-nodep:jar:2.2:test
> [INFO]    com.mycompany:arp-comm:jar:0.42:compile
> [INFO]    com.mycompany:app-autotest:jar:2.1.0-SNAPSHOT:runtime
> [INFO]    com.mycompany:app-commun:jar:2.1.0-SNAPSHOT:compile
> [INFO]    com.mycompany:app-communImpl:jar:2.1.0-SNAPSHOT:runtime
> [INFO]    com.mycompany:app-domain:jar:2.1.0-SNAPSHOT:compile
> [INFO]    com.mycompany:app-facade2:jar:2.1.0-SNAPSHOT:compile
> [INFO]    com.mycompany:app-facade2Impl:jar:2.1.0-SNAPSHOT:runtime
> [INFO]    com.mycompany:app-facade1:jar:2.1.0-SNAPSHOT:compile
> [INFO]    com.mycompany:app-facade1Impl:jar:2.1.0-SNAPSHOT:runtime
> [INFO]    com.mycompany:app-impression:jar:2.1.0-SNAPSHOT:runtime
> [INFO]    com.mycompany:app-integration:jar:2.1.0-SNAPSHOT:compile
> [INFO]    com.mycompany:app-integrationImpl:jar:2.1.0-SNAPSHOT:runtime
> [INFO]    com.mycompany:etj-ruleServiceImpl:jar:2.0.4:runtime
> [INFO]    com.mycompany:etj-xom:jar:2.0.4:compile
> [INFO]    com.mycompany:fwk-autotest:jar:1.6.6:runtime
> [INFO]    com.mycompany:fwk-commons:jar:1.6.6:compile
> [INFO]    com.mycompany:fwk-domain:jar:1.6:compile
> [INFO]    com.mycompany:fwk-i18n:jar:1.6.6:compile
> [INFO]    com.mycompany:fwk-i18nImpl:jar:1.5:compile
> [INFO]    com.mycompany:fwk-impression:jar:1.6.6:runtime
> [INFO]    com.mycompany:fwk-impressionImpl:jar:1.6.6:runtime
> [INFO]    com.mycompany:fwk-jmx:jar:1.6.6:runtime
> [INFO]    com.mycompany:fwk-logging:jar:1.6.6:compile
> [INFO]    com.mycompany:fwk-remoting:jar:1.6.6:runtime
> [INFO]    com.mycompany:fwk-security:jar:1.6.6:compile
> [INFO]    com.mycompany:fwk-securityImpl:jar:1.6.6:compile
> [INFO]    com.mycompany:fwk-test:jar:1.6.6:test
> [INFO]    com.mycompany:hab-core-domain:jar:2.0.0:runtime
> [INFO]    com.mycompany:hab-core-facade:jar:2.0.0:runtime
> [INFO]    com.mycompany:hab-core-facadeImpl:jar:2.0.0:runtime
> [INFO]    com.mycompany:hab-core-repository:jar:2.0.0:runtime
> [INFO]    com.mycompany:hab-core-repositoryImpl:jar:2.0.0:runtime
> [INFO]    com.mycompany:hab-domain:jar:1.1.5:compile
> [INFO]    com.mycompany:hab-facade:jar:1.1.5:runtime
> [INFO]    com.mycompany:hab-facadeImpl:jar:1.1.5:runtime
> [INFO]    com.mycompany:hab-repository:jar:1.1.6:runtime
> [INFO]    com.mycompany:hab-repositoryImpl:jar:1.1.6:runtime
> [INFO]    com.mycompany:jamon-ext-commun:jar:1.0.4:compile
> [INFO]    com.mycompany:jamon-ext-management:jar:1.0.4:provided
> [INFO]    com.mycompany:ref-domain:jar:1.6.4:compile
> [INFO]    com.mycompany:ref-facade:jar:1.6.4:runtime
> [INFO]    com.mycompany:ref-facadeImpl:jar:1.6.4:runtime
> [INFO]    com.mycompany:ref-repository:jar:1.6.4:runtime
> [INFO]    com.mycompany:ref-repositoryImpl:jar:1.6.4:runtime
> [INFO]    com.mycompany:syn-fwk-Moteur:jar:2.2.4:runtime
> [INFO]    com.mycompany:syn-fwk-observer:jar:2.2.4:runtime
> [INFO]    com.mycompany:syn-fwk-observerImpl:jar:2.2.4:runtime
> [INFO]    com.mycompany:syn-fwkSchema:jar:2.2.4-R1.6.4:runtime
> [INFO]    com.mycompany:syn-habRemoteFacade:jar:2.2.4-R1.6.4-H1.1.5:runtime
> [INFO]    com.mycompany:syn-habSchema:jar:2.2.4-R1.6.4-H1.1.5:runtime
> [INFO]    com.mycompany:syn-refRemoteFacade:jar:2.2.4-R1.6.4:runtime
> [INFO]    com.mycompany:syn-refSchema:jar:2.2.4-R1.6.4:runtime
> [INFO]    com.google.code.findbugs:annotations:jar:1.3.9:provided
> [INFO]    com.h2database:h2:jar:1.2.134:compile
> [INFO]    com.ilog.jrules:jrules-bres-execution:jar:6.7.4:runtime
> [INFO]    com.ilog.jrules:jrules-engine:jar:6.7.4:runtime
> [INFO]    com.ilog.jum:sam-arp:jar:1.0.0:runtime
> [INFO]    com.oracle:ojdbc14:jar:10.2.0.4.0:runtime
> [INFO]    com.oracle:ojdbc6:jar:11.2.0.1:provided
> [INFO]    com.progress:sonic_Client:jar:7.6:provided
> [INFO]    com.progress:sonic_Crypto:jar:7.6:provided
> [INFO]    com.progress:sonic_XA:jar:7.6:provided
> [INFO]    com.progress:sonic_XMessage:jar:7.6:provided
> [INFO]    com.sonicws:mfcontext:jar:7.6:provided
> [INFO]    com.thoughtworks.xstream:xstream:jar:1.3.1:runtime
> [INFO]    commons-beanutils:commons-beanutils:jar:1.7.0:runtime
> [INFO]    commons-codec:commons-codec:jar:1.3:compile
> [INFO]    commons-collections:commons-collections:jar:3.2:compile
> [INFO]    commons-digester:commons-digester:jar:1.6:runtime
> [INFO]    commons-httpclient:commons-httpclient:jar:3.1:compile
> [INFO]    commons-lang:commons-lang:jar:2.5:compile
> [INFO]    commons-logging:commons-logging:jar:1.1.1:compile
> [INFO]    commons-validator:commons-validator:jar:1.3.1:runtime
> [INFO]    dom4j:dom4j:jar:1.6.1:compile
> [INFO]    javassist:javassist:jar:3.11.0.GA:compile
> [INFO]    javax.persistence:persistence-api:jar:1.0:compile
> [INFO]    javax.resource:connector-api:jar:1.5:runtime
> [INFO]    javax.servlet:jstl:jar:1.1.2:compile
> [INFO]    javax.servlet:servlet-api:jar:2.5:provided
> [INFO]    javax.sql:jdbc-stdext:jar:2.0:runtime
> [INFO]    javax.transaction:jta:jar:1.1:provided
> [INFO]    jaxen:jaxen:jar:1.1.1:runtime
> [INFO]    junit:junit:jar:4.4:test
> [INFO]    log4j:apache-log4j-extras:jar:1.0:runtime
> [INFO]    log4j:log4j:jar:1.2.15:compile
> [INFO]    net.sf.ehcache:ehcache:jar:1.5.0:runtime
> [INFO]    net.sf.ehcache:ehcache-core:jar:2.1.0:runtime
> [INFO]    net.sf.ehcache:ehcache-terracotta:jar:2.1.0:runtime
> [INFO]    net.sf.jsr107cache:jsr107cache:jar:1.0:runtime
> [INFO]    net.sf.opencsv:opencsv:jar:1.8:compile
> [INFO]    net.sourceforge.jexcelapi:jxl:jar:2.6:compile
> [INFO]    org.apache.bcel:bcel:jar:5.1:runtime
> [INFO]
>  org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:runtime
> [INFO]
>  org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:runtime
> [INFO]
>  org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:runtime
> [INFO]    org.apache.tomcat:annotations-api:jar:6.0.18:provided
> [INFO]    org.apache.tomcat:catalina:jar:6.0.18:provided
> [INFO]    org.apache.tomcat:juli:jar:6.0.18:provided
> [INFO]    org.apache.tomcat:servlet-api:jar:6.0.18:provided
> [INFO]    org.apache.ws.commons.axiom:axiom-api:jar:1.2.7:runtime
> [INFO]    org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7:runtime
> [INFO]    org.aspectj:aspectjrt:jar:1.6.2:compile
> [INFO]    org.aspectj:aspectjweaver:jar:1.6.2:runtime
> [INFO]    org.codehaus.btm:btm:jar:2.0.1:provided
> [INFO]    org.codehaus.btm:btm-tomcat55-lifecycle:jar:2.0.1:provided
> [INFO]    org.codehaus.castor:castor:jar:1.2:runtime
> [INFO]    org.codehaus.woodstox:wstx-asl:jar:3.2.4:runtime
> [INFO]    org.dbunit:dbunit:jar:2.4.7:test
> [INFO]    org.easymock:easymock:jar:2.5.2:test
> [INFO]    org.easymock:easymockclassextension:jar:2.5.2:test
> [INFO]    org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
> [INFO]    org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile
> [INFO]    org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga:compile
> [INFO]    org.hibernate:hibernate-core:jar:3.3.2.GA:compile
> [INFO]    org.hibernate:hibernate-jmx:jar:3.3.1.GA:runtime
> [INFO]    org.hibernate:hibernate-validator:jar:3.1.0.GA:compile
> [INFO]    org.jamon:jamon:jar:2.7:provided
> [INFO]    org.objenesis:objenesis:jar:1.2:test
> [INFO]    org.slf4j:slf4j-api:jar:1.5.6:compile
> [INFO]    org.slf4j:slf4j-jdk14:jar:1.5.6:provided
> [INFO]    org.slf4j:slf4j-log4j12:jar:1.5.6:runtime
> [INFO]    org.springframework:spring-aop:jar:2.5.6:compile
> [INFO]    org.springframework:spring-aspects: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]    org.springframework:spring-context-support:jar:2.5.6:compile
> [INFO]    org.springframework:spring-core:jar:2.5.6:compile
> [INFO]    org.springframework:spring-jdbc:jar:2.5.6:compile
> [INFO]    org.springframework:spring-jms:jar:2.5.6:runtime
> [INFO]    org.springframework:spring-orm:jar:2.5.6:compile
> [INFO]    org.springframework:spring-test:jar:2.5.6:test
> [INFO]    org.springframework:spring-tx:jar:2.5.6:compile
> [INFO]    org.springframework:spring-web:jar:2.5.6:compile
> [INFO]    org.springframework:spring-webmvc:jar:2.5.6:compile
> [INFO]
>  org.springframework.integration:spring-integration-adapter:jar:1.0.3.RELEASE:runtime
> [INFO]
>  org.springframework.integration:spring-integration-core:jar:1.0.3.RELEASE:compile
> [INFO]
>  org.springframework.integration:spring-integration-file:jar:1.0.3.RELEASE:compile
> [INFO]
>  org.springframework.integration:spring-integration-jms:jar:1.0.3.RELEASE:runtime
> [INFO]
>  org.springframework.integration:spring-integration-stream:jar:1.0.3.RELEASE:runtime
> [INFO]
>  org.springframework.integration:spring-integration-ws:jar:1.0.3.RELEASE:runtime
> [INFO]
>  org.springframework.integration:spring-integration-xml:jar:1.0.3.RELEASE:runtime
> [INFO]    org.springframework.ldap:spring-ldap:jar:1.2.1:compile
> [INFO]
>  org.springframework.security:spring-security-core:jar:2.0.1:compile
> [INFO]
>  org.springframework.security:spring-security-core-tiger:jar:2.0.1:compile
> [INFO]    org.springframework.ws:spring-oxm:jar:1.5.7:runtime
> [INFO]    org.springframework.ws:spring-oxm-tiger:jar:1.5.7:runtime
> [INFO]    org.springframework.ws:spring-ws-core:jar:1.5.7:runtime
> [INFO]    org.springframework.ws:spring-ws-core-tiger:jar:1.5.7:runtime
> [INFO]    org.springframework.ws:spring-xml:jar:1.5.7:runtime
> [INFO]    oro:oro:jar:2.0.8:runtime
> [INFO]    quartz:quartz:jar:1.6.5:compile
> [INFO]    quartz:quartz-oracle:jar:1.6.5:runtime
> [INFO]    taglibs:standard:jar:1.1.2:compile
> [INFO]    wsdl4j:wsdl4j:jar:1.6.1:runtime
> [INFO]    xml-apis:xml-apis:jar:1.3.04:runtime
> [INFO]    xpp3:xpp3_min:jar:1.1.4c:runtime
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Mvn 3: Dependency list vs Dependency tree

Posted by Gérald Quintana <ge...@gmail.com>.
The problem doesn't occur with Maven 2.2.1 either, so it's related to
something different between 2.2.1 et 3.0.0

Gérald

2010/11/25 Gérald Quintana <ge...@gmail.com>:
> Hello,
>
> I have just migrated from Maven 2.0.9 to Maven 3.0.0. Everything
> compiles, tests as expected, but it doesn't run. I get some useless
> librairies in my WEB-INF\lib with old versions. Looking in the
> dependency tree for the origin of theses dependencies, they are not
> present. But they are present in dependency list! Look at the
> net.sf.ehcache:ehcache:jar:1.5.0 or com.mycompany:fwk-i18nImpl:jar:1.5
> or com.oracle:ojdbc14:jar:10.2.0.4.0 dependencies in the following
> logs.
>
> I have tried to tweak dependency exclusions without success.
>
> What can I do to understand what's happening and fix it?
>
> Gérald
>

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