I have a complex maven project with a lot of managed dependencies, and have a little problem tracing versions of these dependencies. For example, spring libraries\' version is g
You could give help:effective-pom
a go. Just make sure that you use the 3.2.0
version (or later) together with the -Dverbose=true
flag set. This will print out the source of the POM value.
To force the right version of the plugin:
maven-help-plugin
3.2.0
To use it:
%> mvn help:effective-pom -Dverbose=true
This will print out the following:
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.0.5.RELEASE
org.example
test-project
0.0.1-SNAPSHOT
Test Project
Blabla.
https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/test-project
Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0
Pivotal
info@pivotal.io
Pivotal Software, Inc.
http://www.spring.io
5.15.6
2.7.7
1.9.64
2.4.0
1.8.13
...
org.springframework.boot
spring-boot
2.0.5.RELEASE
...