You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Melanie S <te...@yahoo.com> on 2009/04/01 11:49:00 UTC

Dependency Plugin: understanding its output

When I run the dependency plug-in (mvn dependency:tree), I get an output  such as the following:

[INFO] (...)
[INFO] [dependency:tree]
[INFO] org.jboss.seam.example.seamspace:seamspace-ear:ear:1.0-SNAPSHOT
[INFO] +- commons-digester:commons-digester:jar:1.8:compile
[INFO] |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] +- org.richfaces.framework:richfaces-api:jar:3.3.0.GA:compile
[INFO] +- org.jboss.el:jboss-el:jar:1.0_02.CR3:compile
[INFO] +- org.jboss.seam:jboss-seam:ejb:2.1.2-SNAPSHOT:compile
[INFO] +- org.jboss.seam.example.seamspace:seamspace-web:war:1.0-SNAPSHOT:compile
[INFO] +- org.jboss.seam.example.seamspace:seamspace-ejb:ejb:1.0-SNAPSHOT:compile
[INFO] |  +- org.drools:drools-core:jar:4..0.4:compile (version managed from 5.0.0.CR1)

I have difficulties trying to understand what the output text "version managed from 5.0.0.CR1" exactly means.  My ejb artifact org.jboss.seam.example.seamspace:seamspace-ejb:ejb:1.0  has declared a dependency on org.drools:drools-core:jar:5.0.0.CR:compile (with the version 5.0.0.CR stated).  But for the ear artifact, which depends on the ejb artifact, there is a dependency on drools-core version 4.0.4 shown. So possibly there is a dependency conflict somewhere.

In order to be able to analyze the problem, I'd just like to understand what the output text "version managed from 5.0.0.CR1" means. I've searched the Maven docs, but found no explanation anywhere. Can anyone help me?  

Thanks in advance,

Melanie





Following below is the full dependency tree:

INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Seamspace
[INFO]   Seamspace :: EJB
[INFO]   Seamspace :: Web
[INFO]   Seamspace :: EAR
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Seamspace
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree]
[INFO] org.jboss.seam.example.seamspace:root:pom:1.0-SNAPSHOT
[INFO] \- org.testng:testng:jar:jdk15:5.8:test
[INFO]    \- junit:junit:jar:3.8.1:test
[INFO] ------------------------------------------------------------------------
[INFO] Building Seamspace :: EJB
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree]
[INFO] org.jboss.seam.example.seamspace:seamspace-ejb:ejb:1.0-SNAPSHOT
[INFO] +- org.drools:drools-core:jar:5.0.0.CR1:compile
[INFO] |  +- org.mvel:mvel2:jar:2.0.8pre1:compile
[INFO] |  +- org.drools:drools-api:jar:5.0.0.CR1:compile
[INFO] |  \- joda-time:joda-time:jar:1.6:compile
[INFO] +- org.drools:drools-compiler:jar:5.0.0.CR1:compile
[INFO] |  +- org.antlr:antlr-runtime:jar:3.1.1:compile
[INFO] |  +- org.eclipse.jdt:core:jar:3.4.2.v_883_R34x:compile
[INFO] |  \- janino:janino:jar:2.5.15:compile
[INFO] +- javax.faces:jsf-api:jar:1.2_09-BETA1:provided
[INFO] +- org.jboss.seam:jboss-seam:ejb:2.1.2-SNAPSHOT:provided
[INFO] +- org.hibernate:hibernate-validator:jar:3.0.0.GA:provided
[INFO] |  \- org.hibernate:hibernate:jar:3.2.4.sp1:provided
[INFO] |     +- javax.transaction:jta:jar:1.0.1B:provided
[INFO] |     +- asm:asm-attrs:jar:1.5.3:provided
[INFO] |     +- dom4j:dom4j:jar:1.6.1-brew:provided (version managed from 1.6.1)
[INFO] |     +- antlr:antlr:jar:2.7.6:provided
[INFO] |     +- cglib:cglib:jar:2.1_3:provided
[INFO] |     \- asm:asm:jar:1.5.3:provided
[INFO] +- javax.ejb:ejb-api:jar:3.0:provided
[INFO] +- javax.persistence:persistence-api:jar:1.0:provided
[INFO] \- org.testng:testng:jar:jdk15:5.8:test
[INFO]    \- junit:junit:jar:3.8.1:test
[INFO] ------------------------------------------------------------------------
[INFO] Building Seamspace :: Web
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree]
[INFO] org.jboss.seam.example.seamspace:seamspace-web:war:1.0-SNAPSHOT
[INFO] +- org.richfaces.ui:richfaces-ui:jar:3.3.0.GA:compile
[INFO] +- org.richfaces.framework:richfaces-impl:jar:3.3.0.GA:compile
[INFO] +- javax.persistence:persistence-api:jar:1.0:provided
[INFO] +- org.jboss.seam:jboss-seam:ejb:2.1.2-SNAPSHOT:provided
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided
[INFO] +- com.sun.facelets:jsf-facelets:jar:1.1.15.B1:compile
[INFO] +- org.jboss.seam:jboss-seam-ui:jar:2.1.2-SNAPSHOT:compile
[INFO] +- org.jboss.seam.example.seamspace:seamspace-ejb:jar:1.0-SNAPSHOT:provided
[INFO] |  +- org.drools:drools-core:jar:4.0.4:provided (version managed from 5.0.0.CR1)
[INFO] |  |  \- org.mvel:mvel14:jar:1.2.21:provided
[INFO] |  \- org.drools:drools-compiler:jar:4.0.4:provided (version managed from 5.0.0.CR1)
[INFO] |     +- org.antlr:antlr-runtime:jar:3.0:provided
[INFO] |     +- org.eclipse.jdt:core:jar:3.2.3.v_686_R32x:provided
[INFO] |     \- janino:janino:jar:2.5.10:provided
[INFO] \- org.testng:testng:jar:jdk15:5.8:test
[INFO]    \- junit:junit:jar:3.8.1:test
[INFO] ------------------------------------------------------------------------
[INFO] Building Seamspace :: EAR
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree]
[INFO] org.jboss.seam.example.seamspace:seamspace-ear:ear:1.0-SNAPSHOT
[INFO] +- commons-digester:commons-digester:jar:1.8:compile
[INFO] |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] +- org.richfaces.framework:richfaces-api:jar:3.3.0.GA:compile
[INFO] +- org.jboss.el:jboss-el:jar:1.0_02.CR3:compile
[INFO] +- org.jboss.seam:jboss-seam:ejb:2.1.2-SNAPSHOT:compile
[INFO] +- org.jboss.seam.example..seamspace:seamspace-web:war:1.0-SNAPSHOT:compile
[INFO] +- org.jboss.seam.example.seamspace:seamspace-ejb:ejb:1.0-SNAPSHOT:compile
[INFO] |  +- org.drools:drools-core:jar:4.0.4:compile (version managed from 5.0.0.CR1)
[INFO] |  |  \- org.mvel:mvel14:jar:1.2.21:compile
[INFO] |  \- org.drools:drools-compiler:jar:4.0.4:compile (version managed from 5.0.0.CR1)
[INFO] |     +- org.antlr:antlr-runtime:jar:3.0:compile
[INFO] |     +- org.eclipse.jdt:core:jar:3.2.3.v_686_R32x:compile
[INFO] |     \- janino:janino:jar:2.5.10:compile
[INFO] \- org.testng:testng:jar:jdk15:5.8:test
[INFO]    \- junit:junit:jar:3.8.1:test
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Seamspace .............................................. SUCCESS [4.767s]
[INFO] Seamspace :: EJB ....................................... SUCCESS [0.245s]
[INFO] Seamspace :: Web ....................................... SUCCESS [0.148s]
[INFO] Seamspace :: EAR ....................................... SUCC





      


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


Re: Dependency Plugin: understanding its output

Posted by Mark Hobson <ma...@gmail.com>.
It means that the transitive version would have been 5.0.0.CR1 but
4.0.4 was explicitly asked for in the project's dependency management
block.

Mark

2009/4/1 Melanie S <te...@yahoo.com>:
>
> When I run the dependency plug-in (mvn dependency:tree), I get an output  such as the following:
>
> [INFO] (...)
> [INFO] [dependency:tree]
> [INFO] org.jboss.seam.example.seamspace:seamspace-ear:ear:1.0-SNAPSHOT
> [INFO] +- commons-digester:commons-digester:jar:1.8:compile
> [INFO] |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
> [INFO] +- org.richfaces.framework:richfaces-api:jar:3.3.0.GA:compile
> [INFO] +- org.jboss.el:jboss-el:jar:1.0_02.CR3:compile
> [INFO] +- org.jboss.seam:jboss-seam:ejb:2.1.2-SNAPSHOT:compile
> [INFO] +- org.jboss.seam.example.seamspace:seamspace-web:war:1.0-SNAPSHOT:compile
> [INFO] +- org.jboss.seam.example.seamspace:seamspace-ejb:ejb:1.0-SNAPSHOT:compile
> [INFO] |  +- org.drools:drools-core:jar:4..0.4:compile (version managed from 5.0.0.CR1)
>
> I have difficulties trying to understand what the output text "version managed from 5.0.0.CR1" exactly means.  My ejb artifact org.jboss.seam.example.seamspace:seamspace-ejb:ejb:1.0  has declared a dependency on org.drools:drools-core:jar:5.0.0.CR:compile (with the version 5.0.0.CR stated).  But for the ear artifact, which depends on the ejb artifact, there is a dependency on drools-core version 4.0.4 shown. So possibly there is a dependency conflict somewhere.
>
> In order to be able to analyze the problem, I'd just like to understand what the output text "version managed from 5.0.0.CR1" means. I've searched the Maven docs, but found no explanation anywhere. Can anyone help me?
>
> Thanks in advance,
>
> Melanie
>
>
>
>
>
> Following below is the full dependency tree:
>
> INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Seamspace
> [INFO]   Seamspace :: EJB
> [INFO]   Seamspace :: Web
> [INFO]   Seamspace :: EAR
> [INFO] Searching repository for plugin with prefix: 'dependency'.
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Seamspace
> [INFO]    task-segment: [dependency:tree]
> [INFO] ------------------------------------------------------------------------
> [INFO] [dependency:tree]
> [INFO] org.jboss.seam.example.seamspace:root:pom:1.0-SNAPSHOT
> [INFO] \- org.testng:testng:jar:jdk15:5.8:test
> [INFO]    \- junit:junit:jar:3.8.1:test
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Seamspace :: EJB
> [INFO]    task-segment: [dependency:tree]
> [INFO] ------------------------------------------------------------------------
> [INFO] [dependency:tree]
> [INFO] org.jboss.seam.example.seamspace:seamspace-ejb:ejb:1.0-SNAPSHOT
> [INFO] +- org.drools:drools-core:jar:5.0.0.CR1:compile
> [INFO] |  +- org.mvel:mvel2:jar:2.0.8pre1:compile
> [INFO] |  +- org.drools:drools-api:jar:5.0.0.CR1:compile
> [INFO] |  \- joda-time:joda-time:jar:1.6:compile
> [INFO] +- org.drools:drools-compiler:jar:5.0.0.CR1:compile
> [INFO] |  +- org.antlr:antlr-runtime:jar:3.1.1:compile
> [INFO] |  +- org.eclipse.jdt:core:jar:3.4.2.v_883_R34x:compile
> [INFO] |  \- janino:janino:jar:2.5.15:compile
> [INFO] +- javax.faces:jsf-api:jar:1.2_09-BETA1:provided
> [INFO] +- org.jboss.seam:jboss-seam:ejb:2.1.2-SNAPSHOT:provided
> [INFO] +- org.hibernate:hibernate-validator:jar:3.0.0.GA:provided
> [INFO] |  \- org.hibernate:hibernate:jar:3.2.4.sp1:provided
> [INFO] |     +- javax.transaction:jta:jar:1.0.1B:provided
> [INFO] |     +- asm:asm-attrs:jar:1.5.3:provided
> [INFO] |     +- dom4j:dom4j:jar:1.6.1-brew:provided (version managed from 1.6.1)
> [INFO] |     +- antlr:antlr:jar:2.7.6:provided
> [INFO] |     +- cglib:cglib:jar:2.1_3:provided
> [INFO] |     \- asm:asm:jar:1.5.3:provided
> [INFO] +- javax.ejb:ejb-api:jar:3.0:provided
> [INFO] +- javax.persistence:persistence-api:jar:1.0:provided
> [INFO] \- org.testng:testng:jar:jdk15:5.8:test
> [INFO]    \- junit:junit:jar:3.8.1:test
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Seamspace :: Web
> [INFO]    task-segment: [dependency:tree]
> [INFO] ------------------------------------------------------------------------
> [INFO] [dependency:tree]
> [INFO] org.jboss.seam.example.seamspace:seamspace-web:war:1.0-SNAPSHOT
> [INFO] +- org.richfaces.ui:richfaces-ui:jar:3.3.0.GA:compile
> [INFO] +- org.richfaces.framework:richfaces-impl:jar:3.3.0.GA:compile
> [INFO] +- javax.persistence:persistence-api:jar:1.0:provided
> [INFO] +- org.jboss.seam:jboss-seam:ejb:2.1.2-SNAPSHOT:provided
> [INFO] +- javax.servlet:servlet-api:jar:2.5:provided
> [INFO] +- com.sun.facelets:jsf-facelets:jar:1.1.15.B1:compile
> [INFO] +- org.jboss.seam:jboss-seam-ui:jar:2.1.2-SNAPSHOT:compile
> [INFO] +- org.jboss.seam.example.seamspace:seamspace-ejb:jar:1.0-SNAPSHOT:provided
> [INFO] |  +- org.drools:drools-core:jar:4.0.4:provided (version managed from 5.0.0.CR1)
> [INFO] |  |  \- org.mvel:mvel14:jar:1.2.21:provided
> [INFO] |  \- org.drools:drools-compiler:jar:4.0.4:provided (version managed from 5.0.0.CR1)
> [INFO] |     +- org.antlr:antlr-runtime:jar:3.0:provided
> [INFO] |     +- org.eclipse.jdt:core:jar:3.2.3.v_686_R32x:provided
> [INFO] |     \- janino:janino:jar:2.5.10:provided
> [INFO] \- org.testng:testng:jar:jdk15:5.8:test
> [INFO]    \- junit:junit:jar:3.8.1:test
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Seamspace :: EAR
> [INFO]    task-segment: [dependency:tree]
> [INFO] ------------------------------------------------------------------------
> [INFO] [dependency:tree]
> [INFO] org.jboss.seam.example.seamspace:seamspace-ear:ear:1.0-SNAPSHOT
> [INFO] +- commons-digester:commons-digester:jar:1.8:compile
> [INFO] |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
> [INFO] +- org.richfaces.framework:richfaces-api:jar:3.3.0.GA:compile
> [INFO] +- org.jboss.el:jboss-el:jar:1.0_02.CR3:compile
> [INFO] +- org.jboss.seam:jboss-seam:ejb:2.1.2-SNAPSHOT:compile
> [INFO] +- org.jboss.seam.example..seamspace:seamspace-web:war:1.0-SNAPSHOT:compile
> [INFO] +- org.jboss.seam.example.seamspace:seamspace-ejb:ejb:1.0-SNAPSHOT:compile
> [INFO] |  +- org.drools:drools-core:jar:4.0.4:compile (version managed from 5.0.0.CR1)
> [INFO] |  |  \- org.mvel:mvel14:jar:1.2.21:compile
> [INFO] |  \- org.drools:drools-compiler:jar:4.0.4:compile (version managed from 5.0.0.CR1)
> [INFO] |     +- org.antlr:antlr-runtime:jar:3.0:compile
> [INFO] |     +- org.eclipse.jdt:core:jar:3.2.3.v_686_R32x:compile
> [INFO] |     \- janino:janino:jar:2.5.10:compile
> [INFO] \- org.testng:testng:jar:jdk15:5.8:test
> [INFO]    \- junit:junit:jar:3.8.1:test
> [INFO]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] Seamspace .............................................. SUCCESS [4.767s]
> [INFO] Seamspace :: EJB ....................................... SUCCESS [0.245s]
> [INFO] Seamspace :: Web ....................................... SUCCESS [0.148s]
> [INFO] Seamspace :: EAR ....................................... SUCC
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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