maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Astle <timothy.as...@caris.com>
Subject Maven Dependency Plugin - tree view question
Date Thu, 03 Mar 2016 20:34:48 GMT
I did a dependency:tree on my project using both the 2.1 and 2.8 
versions of the plugin.  Actually I started with 2.8, but when I had 
seen something unexpected to me in the tree, I tried an older version.

What I noticed is the following:

2.1
[INFO] |  +- org.jacorb:jacorb:jar:3.6.1:compile
[INFO] |  |  +- org.slf4j:slf4j-api:jar:1.7.12:compile
[INFO] +- org.dbunit:dbunit:jar:2.5.1:test
[INFO] |  \- org.apache.poi:poi-ooxml:jar:3.11:test

2.8
[INFO] |  +- org.jacorb:jacorb:jar:3.6.1:compile
[INFO] +- org.dbunit:dbunit:jar:2.5.1:test
[INFO] |  +- org.slf4j:slf4j-api:jar:1.7.12:compile
[INFO] |  \- org.apache.poi:poi-ooxml:jar:3.11:test

What piqued my interest was that I seen slf4j-api (a transitive compile 
dependency) being placed in the tree under a test scoped artifact.  I 
would have expected the behaviour to be like 2.1, and show up as a 
transitive under a compile scoped artifact.

Is that expected?

Tim


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


Mime
View raw message