Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.8, 2.10, 3.1.2
-
None
-
None
Description
Description:
Dependency net.bytebuddy:byte-buddy:jar:1.10.18:compile appears only once under a test scope dependency org.mockito:mockito-core:jar:3.6.28:test when running mvn dependency:tree although it is a child of another dependency with scope compile
Actual behavior:
The same lines that appears when running dependency:tree command:
+- org.mockito:mockito-core:jar:3.6.28:test
| +- net.bytebuddy:byte-buddy:jar:1.10.18:compile
Should be part of the omitted dependencies according to dependency:tree -Dverbose=true
+- org.mockito:mockito-core:jar:3.6.28:test | +- (net.bytebuddy:byte-buddy:jar:1.10.18:compile - scope updated from test; omitted for duplicate)
Full compare report attached
Expected behavior:
net.bytebuddy:byte-buddy:jar:1.10.18:compile to appear in the correct place in the tree
Attachments:
test-dependency-bug.zip
example project used to reproduce the issue and generate the report
mvn_verbose_compare.html
a compare report showing the issue
expecting line 12 to appear only the right side (verbose mode)
and line 18 to appear on both sides (appears only in verbose mode)