In large maven project sometime it’s hard to trace the origin of a dependency’s version (Especially with multi-level parent pom / spring-boot parent). In this case below command can help.
1. For maven version 3.2.0+
Use help:effective-pom with -Dverbose=true flag
mvn help:effective-pom -Dverbose=true
Sample output
<project>
...
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId> <!-- org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE, line 208 -->
<artifactId>spring-boot</artifactId> <!-- org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE, line 209 -->
<version>2.0.5.RELEASE</version> <!-- org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE, line 210 -->
</dependency>
...
</dependencies>
</dependencyManagement>
</project>