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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to