Use spring.version property in the spring-di module
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
- <version>${org.springframework.version}</version>
+ <version>${spring.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
- <version>${org.springframework.version}</version>
+ <version>${spring.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<properties>
<start-class>org.baeldung.org.baeldung.sample.App</start-class>
<!-- Spring -->
- <org.springframework.version>5.0.6.RELEASE</org.springframework.version>
<annotation-api.version>1.3.2</annotation-api.version>
<mockito.spring.boot.version>1.4.4.RELEASE</mockito.spring.boot.version>
<javax.inject.version>1</javax.inject.version>
