Override spring-boot version from parent POM
03:59 15 May 2019

I have multiple spring projects that all have the same custom parent POM from which they all inherit their spring-boot version (1.5.18.RELEASE). Only one of the child projects need to be updated to version 2.1.4.RELEASE, but when I import spring-boot-dependencies, the spring-boot dependencies in the child project still remain at version 1.5.18.RELEASE.

Custom Parent POM:


    org.springframework.boot
    spring-boot-starter-parent
    1.5.18.RELEASE
     


com.example
services
0.0.1-SNAPSHOT
pom

Services :: Parent
Parent Project for Services

Child POM:


    services
    com.example
    0.0.1-SNAPSHOT
    ../services/pom.xml



    
        
            
            org.springframework.boot
            spring-boot-dependencies
            2.1.4.RELEASE
            pom
            import
        
    

java spring dependency-management