Spring Data Version From Spring Boot : The Hard Way, or how to find your Spring Data version from Spring Boot without an IDE.
I recently needed to find my Spring Data version from my Spring Boot maven pom, and used these steps –
1. Open you Spring Boot project pom.xml –
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.6.RELEASE</version>
<relativePath/>
</parent>
2. Next stop is the spring-boot-dependencies for version 1.5.6.RELEASE
3. Find spring-data-releasetrain.version in pom.xml –
<spring-data-releasetrain.version>Ingalls-SR6</spring-data-releasetrain.version>
4. Track this version against the spring-data-commons wiki, and we can confirm we are using – Spring Data JPA – 1.11
An alternative is to search on Ingalls-SR6 on mvnrepository which confirms the version as 1.11.6.RELEASE.
Or the easy way (thanks Oliver) –
Like this:
Like Loading...