Home > Mobile >  Which is the stable version of Spring boot in maven
Which is the stable version of Spring boot in maven

Time:11-17

The latest version of spring boot is 2.7.5 from the Maven Repo is released .

Maven Artifactory

CodePudding user response:

As the time of writing: Yes, 2.7.5 is the latest release version of Spring Boot.

However, it should be noted that Spring Boot 3.0.0 should also be coming out this year.The current latest version there (as of the time of writing is 3.0.0-RC2 as seen in the release notes. This version is a Release Candidate so while it should be almost ready, there might still be a few (breaking) changes and fixes.

If you are starting a new project (especially if it won't release that soon), you might want to use Spring Boot 3 (RC2) now and switch to the proper release version once it comes out. This way, you can use Spring 6/Spring Boot 3 without having the migration work.

If you want to use Release Candidates, you would need to add the milestone repository to your build configuration (e.g. pom.xml):

<repositories>
    <repository>
        <id>spring-milestones</id>
        <url>https://repo.spring.io/milestone/</url>
    </repository>
</repositories>
  • Related