SpringBoot与SpringCloud的版本对应

大版本对应

Spring BootSpring 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版本
 2.2.x  Hoxton版本

在实际开发过程中,我们需要更详细的版本对应  (https://start.spring.io/actuator/info)。

 spring-boot-starter-parent  spring-cloud-dependencies 
 版本号  发布日期  版本号 发布日期  
 1.5.2.RELEASE  2017年3月  稳定版   Dalston.RC1  2017年未知月   
 1.5.9.RELEASE  2017年11月  稳定版   Edgware.RELEASE  2017年11月   稳定版 
 1.5.16.RELEASE      Edgware.SR5    
 1.5.20.RELEASE      Edgware.SR5    
 Spring Boot >=2.0.0.M3 and <2.0.0.M5      Finchley.M2    
 Spring Boot >=2.0.0.M5 and <=2.0.0.M5      Finchley.M3    
 Spring Boot >=2.0.0.M6 and <=2.0.0.M6      Finchley.M4    
 Spring Boot >=2.0.0.M7 and <=2.0.0.M7      Finchley.M5    
 Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1      Finchley.M6    
 Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2      Finchley.M7    
Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE      Finchley.M9    
Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE      Finchley.RC1    
Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE      Finchley.RC2    
Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT      Finchley.SR4    
 Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3     Finchley.BUILD-SNAPSHOT    
 Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE      Greenwich.M1    
Spring Boot >=2.1.0.RELEASE and <2.1.14.BUILD-SNAPSHOT      Greenwich.SR5    
 Spring Boot >=2.1.14.BUILD-SNAPSHOT and <2.2.0.M4     Greenwich.BUILD-SNAPSHOT    
 Spring Boot >=2.2.0.M4 and < 2.2.6.BUILD-SNAPSHOT      Hoxton.SR1    
 Spring Boot >=2.2.6.BUILD-SNAPSHOT<2.3.0.M1     Hoxton.BUILD-SNAPSHOT    
 待更新...          

对应着官方:

{
	"git": {
		"commit": {
			"time": "2020-02-29T16:03:58Z",
			"id": "6fd72bf"
		},
		"branch": "6fd72bf3ed6dc24f5e63a5f6e647e79ecb25dfb0"
	},
	"build": {
		"version": "0.0.1-SNAPSHOT",
		"artifact": "start-site",
		"name": "start.spring.io website",
		"versions": {
			"initializr": "0.9.0.BUILD-SNAPSHOT",
			"spring-boot": "2.2.5.RELEASE"
		},
		"group": "io.spring.start",
		"time": "2020-02-29T16:04:29.028Z"
	},
	"bom-ranges": {
		"azure": {
			"2.0.10": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
			"2.1.7": "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1",
			"2.2.0": "Spring Boot >=2.2.0.M1"
		},
		"codecentric-spring-boot-admin": {
			"2.0.6": "Spring Boot >=2.0.0.M1 and <2.1.0.M1",
			"2.1.6": "Spring Boot >=2.1.0.M1 and <2.2.0.M1",
			"2.2.1": "Spring Boot >=2.2.0.M1"
		},
		"spring-cloud": {
			"Finchley.M2": "Spring Boot >=2.0.0.M3 and <2.0.0.M5",
			"Finchley.M3": "Spring Boot >=2.0.0.M5 and <=2.0.0.M5",
			"Finchley.M4": "Spring Boot >=2.0.0.M6 and <=2.0.0.M6",
			"Finchley.M5": "Spring Boot >=2.0.0.M7 and <=2.0.0.M7",
			"Finchley.M6": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1",
			"Finchley.M7": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2",
			"Finchley.M9": "Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE",
			"Finchley.RC1": "Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE",
			"Finchley.RC2": "Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE",
			"Finchley.SR4": "Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT",
			"Finchley.BUILD-SNAPSHOT": "Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3",
			"Greenwich.M1": "Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE",
			"Greenwich.SR5": "Spring Boot >=2.1.0.RELEASE and <2.1.14.BUILD-SNAPSHOT",
			"Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.14.BUILD-SNAPSHOT and <2.2.0.M4",
			"Hoxton.SR1": "Spring Boot >=2.2.0.M4 and <2.2.6.BUILD-SNAPSHOT",
			"Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.2.6.BUILD-SNAPSHOT and <2.3.0.M1"
		},
		"spring-cloud-alibaba": {
			"2.2.0.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1"
		},
		"spring-cloud-services": {
			"2.0.3.RELEASE": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
			"2.1.6.RELEASE": "Spring Boot >=2.1.0.RELEASE and <2.2.0.RELEASE",
			"2.2.1.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1"
		},
		"spring-data-r2dbc": {
			"0.1.0.M3": "Spring Boot >=2.2.0.M6 and <2.2.6.BUILD-SNAPSHOT",
			"0.1.0.BUILD-SNAPSHOT": "Spring Boot >=2.2.6.BUILD-SNAPSHOT"
		},
		"spring-statemachine": {
			"2.0.0.M4": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1",
			"2.0.0.M5": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2",
			"2.0.1.RELEASE": "Spring Boot >=2.0.0.RELEASE"
		},
		"vaadin": {
			"10.0.17": "Spring Boot >=2.0.0.M1 and <2.1.0.M1",
			"14.1.17": "Spring Boot >=2.1.0.M1"
		}
	},
	"dependency-ranges": {
		"okta": {
			"1.2.1": "Spring Boot >=2.1.2.RELEASE and <2.2.0.M1",
			"1.4.0": "Spring Boot >=2.2.0.M1"
		},
		"mybatis": {
			"2.0.1": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
			"2.1.1": "Spring Boot >=2.1.0.RELEASE"
		},
		"geode": {
			"1.2.4.RELEASE": "Spring Boot >=2.2.0.M5 and <2.3.0.M1",
			"1.3.0.M2": "Spring Boot >=2.3.0.M1 and <2.3.0.BUILD-SNAPSHOT",
			"1.3.0.BUILD-SNAPSHOT": "Spring Boot >=2.3.0.BUILD-SNAPSHOT"
		},
		"camel": {
			"2.22.4": "Spring Boot >=2.0.0.M1 and <2.1.0.M1",
			"2.24.3": "Spring Boot >=2.1.0.M1 and <2.2.0.M1",
			"3.0.1": "Spring Boot >=2.2.0.M1"
		},
		"solace": {
			"3.1.0": "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1",
			"3.2.0": "Spring Boot >=2.2.0.M1"
		}
	}
}

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

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

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

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

注:在SpringCloud中,1.X和2.X版本在pom.xml中引入的jar包名字有些是不一样的。

 

参考:https://www.cnblogs.com/zhuwenjoyce/p/10261079.html

posted @ 2020-03-01 10:39  codedot  阅读(2529)  评论(0编辑  收藏  举报