balteo
balteo

Reputation: 24699

Customizing Spring Boot dependency versions

I am looking for a way to customize Spring Boot transitive dependency versions.

Say I want to use a different version of Spring Framework.

Is this possible? If so how - bearing in mind I use Maven.

Upvotes: 0

Views: 218

Answers (1)

M. Deinum
M. Deinum

Reputation: 125242

You can by specifying the spring.version property, assuming that you use the spring-boot-starter as a parent.

<properties>
    <spring.version>your-version-here</spring.version>
</properties>

If it is wise is an entirely different question (there is code in Spring Boot that assumes certain things to be available and to make sure that it works you would at least have to use Spring version 4.0.3 I guess.

Upvotes: 2

Related Questions