I have a module with a dependency on another module which included
commons-lang as a dependency:
If I use dependency:tree from that module using m2 I get (parts
trimmed to keep things concise)
[INFO] [dependency:tree {execution: default-cli}]
[INFO] com.foo:foo:jar:48-SNAPSHOT
[INFO] +- com.foo:foo-datamodel:jar:48-SNAPSHOT:compile
[INFO] | +- (joda-time:joda-time:jar:1.6.2:compile - omitted for duplicate)
[INFO] | +- commons-lang:commons-lang:jar:2.4:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.5.11:compile
[INFO] | +- (org.jetbrains:annotations:jar:7.0.2:compile - omitted
for duplicate)
[INFO] | \- (net.jcip:jcip-annotations:jar:1.0:compile - omitted for duplicate)
If I install the dependency (datamodel) and dependency:tree from the
dependent module (foo) using m3 I get:
[INFO] +- com.foo:foo-datamodel:jar:48-SNAPSHOT:compile
I noticed something similar before when trying to using myBatis's
resolveutil which tries to look up runtime annotations of a class
using m2 vs m3.
In m2 I was able to find the annotations that the class had (runtime
scoped annotations) but in m3 i was not.
Thinking it was the same problem, I looked at the dependency:tree of
m2 vs m3 but this time they both showed the jar as being included.
Anyone know what could be causing these issues?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]