Java 详解SpringBoot与SpringCloud的版本对应详细版

一、关于maven仓库的版本列表

1.1 spring-cloud-dependencies 版本列表可查看:

https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies

1.2 spring-boot-starter-parent 版本列表可查看:

https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent

二、版本对应关系

2.1 大版本对应:

Spring Cloud    Spring Boot
Angel版本            兼容Spring Boot 1.2.x
Brixton版本    兼容Spring Boot 1.3.x,也兼容Spring Boot 1.4.x
Camden版本    兼容Spring Boot 1.4.x,也兼容Spring Boot 1.5.x
Dalston版本、Edgware版本    兼容Spring Boot 1.5.x,不兼容Spring Boot 2.0.x
Finchley版本    兼容Spring Boot 2.0.x,不兼容Spring Boot 1.5.x
Greenwich版本    兼容Spring Boot 2.1.x
Hoxtonl版本    兼容Spring Boot 2.2.x    

2.2 在实际开发过程中,我们需要更详细的版本对应:

Spring Boot    Spring Cloud
1.5.2.RELEASE    Dalston.RC1
1.5.9.RELEASE    Edgware.RELEASE
2.0.2.RELEASE    Finchley.BUILD-SNAPSHOT
2.0.3.RELEASE    Finchley.RELEASE
2.1.0.RELEASE-2.1.14.RELEASE    Greenwich.SR5
2.2.0.M4    Hoxton.SR4

三、关于spring cloud1.x版本和2.x版本区别

spring cloud各个版本之间是有所区别的,比如在SpringCloud中,1.X和2.X版本在pom.xml中引入的jar包名字都不一样,比如有的叫spirng-cloud-starter-hystrix 有的叫spring-cloud-netflix-hystrix,维护起来会比较困难。

 

posted @ 2023-04-27 22:14  都是城市惹的祸  阅读(10242)  评论(0)    收藏  举报