Upgrading start.spring.io to Spring Boot 2
Spring Boot 2 was released recently and the production instance of Spring Initializr (start.spring.io) was upgraded to Spring Boot 2 the same day.
In this post, I'd like to walk you through the process of upgrading a Spring Boot 1.x
app to Spring Boot 2.
Release notes and migration guide
A good first step is to get yourself familiar with the main changes in Spring Boot 2 by reading the migration guide and the release notes.
Build upgrade
If you are using Maven and the spring-boot-starter-parent
, you need to be aware that several plugins are going to be updated as part of the upgrade. If you're not using the parent, it is worthwhile to inspect your build and upgrade the plugins that you are using. Spring Initializr is built with Maven so the easiest way is to scan spring-boot-dependencies
…