由于目前阿里的SpringCloud组件以及孵化成功,导致写项目导入pom依赖坐标时比较纠结,网上对版本的兼容介绍也变得五花八门。
Spring Boot
Spring Cloud
1.2.x
Angel版本
1.3.x
Brixton版本
1.4.x stripes
Camden版本
1.5.x
Dalston版本、Edgware版本
2.0.x
Finchley版本
2.1.x
Greenwich.SR2
Spring Cloud Alibaba Version
Sentinel Version
Nacos Version
RocketMQ Version
Dubbo Version
Seata Version
(毕业版本) 2.2.0.RELEASE
1.7.1
1.1.4
4.4.0
2.7.4.1
1.0.0
(毕业版本) 2.1.1.RELEASE or 2.0.1.RELEASE or 1.5.1.RELEASE
1.7.0
1.1.4
4.4.0
2.7.3
0.9.0
(毕业版本) 2.1.0.RELEASE or 2.0.0.RELEASE or 1.5.0.RELEASE
1.6.3
1.1.1
4.4.0
2.7.3
0.7.1
(孵化器版本) 0.9.0.RELEASE or 0.2.2.RELEASE or 0.1.2.RELEASE
1.5.2
1.0.0
4.4.0
2.7.1
0.4.2
(孵化器版本) 0.2.1.RELEASE or 0.1.1.RELEASE
1.4.0
0.6.2
4.3.1
(孵化器版本) 0.2.0.RELEASE or 0.1.0.RELEASE
1.3.0-GA
0.3.0
Spring Cloud Version
Spring Cloud Alibaba Version
Spring Boot Version
Spring Cloud Hoxton
2.2.0.RELEASE
2.2.X.RELEASE
Spring Cloud Greenwich
2.1.1.RELEASE
2.1.X.RELEASE
Spring Cloud Finchley
2.0.1.RELEASE
2.0.X.RELEASE
Spring Cloud Edgware
1.5.1.RELEASE
1.5.X.RELEASE
Spring Cloud Alibaba BOM 包含了它所使用的所有依赖的版本。
Spring Cloud Hoxton
如果需要使用 Spring Cloud Hoxton 版本,请在 dependencyManagement 中添加如下内容
Spring Cloud Greenwich
如果需要使用 Spring Cloud Greenwich 版本,请在 dependencyManagement 中添加如下内容
Spring Cloud Finchley
如果需要使用 Spring Cloud Finchley 版本,请在 dependencyManagement 中添加如下内容
Spring Cloud Edgware
如果需要使用 Spring Cloud Edgware 版本,请在 dependencyManagement 中添加如下内容
以Nacos为例
com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-config
com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-discovery
摘自 版本说明
更多孵化器版本对应可点击链接去官网查看