Spring Boot 和 Spring Cloud 版本对应关系

Spring Boot 和 Spring Cloud 版本对应关系

啊!!~~,又被这个各种版本号折腾了好久。好气。

版本号说明

PRE: 预览版,内部测试版. 主要是给开发人员和测试人员测试和找BUG用的,不建议使用;

SNAPSHOT:快照版,表示开发版本,随时可能修改;

M: 里程碑版本,测试版本,发布版本的前兆

RC: 候选发布版本,稳定版本,并不一定会发布

RELEASE: 发布版本,稳定版本,在项目中真正可用的版本

GA:General Availability,正式发布的版本,官方推荐使用此版本。在国外都是用GA来说明release版本的。

版本对应关系

这点建议大家尽量去官网寻找,因为官网的信息是第一手的。

官网地址: 点击这里跳转官网查询地址

以下信息仅做参考,最新信息请去官网。

"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.SR3":“Spring Boot >=2.1.0.RELEASE and <2.1.10.BUILD-SNAPSHOT”,
"Greenwich.BUILD-SNAPSHOT":“Spring Boot >=2.1.10.BUILD-SNAPSHOT and <2.2.0.M4”,
"Hoxton.M3":“Spring Boot >=2.2.0.M4 and <2.2.1.BUILD-SNAPSHOT”,
"Hoxton.BUILD-SNAPSHOT":"Spring Boot >=2.2.1.BUILD-SNAPSHOT"
}

在测试的时候我选择了目前为止比较新的版本Spring Boot 2.2.0.RELEASE,然后从里面寻找应该对应Spring Cloud Hoxton.M3,然后就遇到版本太新,有的maven仓库找不到。

这里还是建议从官网寻找点击这里跳转官网
在这里插入图片描述

点击放大镜搜索对应的版本号找到相关内容即可;

在这里插入图片描述
进入,就可以找到对应的仓库地址。
如果实在找不到,用下面仓库地址碰碰运气吧。

    <mirror>  
		<id>repo1</id>  
		<mirrorOf>resp1</mirrorOf>  
		<name>Human Readable Name for this Mirror.</name>  
		<url>http://repo1.maven.org/maven2/</url>  
    </mirror> 
	
	<mirror>
		<id>nexus-aliyun</id>
		<mirrorOf>central</mirrorOf>
		<name>Nexus aliyun</name>
		<url>http://maven.aliyun.com/nexus/content/groups/public</url>
	</mirror>
  
	<mirror>
	  <id>sprintio</id>
	  <mirrorOf>central</mirrorOf>
	  <name>Human Readable Name for this Mirror.</name>
	 <url>https://repo.spring.io/libs-snapshot/</url>
	</mirror>

	<mirror>
	  <id>sprintio2</id>
	  <mirrorOf>central</mirrorOf>
	  <name>Human</name>
	 <url>https://repo.spring.io/milestone/</url>
	</mirror>

猜你喜欢

转载自blog.csdn.net/qq_30285985/article/details/102750279