MavenHelper
MavenHelper copied to clipboard
Show that version is coming from dependency management
Sometimes it's confusing that the displayed version of an artifact in the dependency analyzer doesn't match the version declared in the pom (when you use Jump to Source).
This can be the case if the version if overridden by dependency management.
mvn dependency:tree -Dverbose=true shows:
[INFO] +- org.mockito:mockito-core:jar:5.19.0:test
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.15.11:test (version managed from 1.17.6)
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.15.11:test (version managed from 1.17.6)
Please make it obvious in the UI that the version is not the one defined in the pom.