SpringCloud与SpringBoot版本匹配关系

记录一下, 将SpringBoot改造成SpringCloud项目第一步遇到的问题就是选择什么版本.

Spring Cloud与Spring Boot版本匹配关系

Spring Cloud

Spring Boot

Finchley

兼容Spring Boot 2.0.x, 不兼容Spring Boot 1.5.x

Dalston和Edgware

兼容Spring Boot 1.5.x, 不兼容Spring Boot 2.0.x

Camden

兼容Spring Boot 1.4.x, 也兼容Spring Boot 1.5.x

Brixton

兼容Spring Boot 1.3.x, 也兼容Spring Boot 1.4.x

Angel

兼容Spring Boot 1.2.x

Spring Boot和Spring Cloud版本说明

Spring Cloud

Spring Boot

2020.0.x aka Ilford

2.4.x, 2.5.x (Starting with 2020.0.3)

Hoxton

2.2.x, 2.3.x (Starting with SR5)

Greenwish

2.1.x

Finchley

2.0.x

Edgware

1.5.x

Dalston

1.5.x

Camden

1.4.x

Brixton

1.3.x

Angel

1.0.x

官方文档发布的: Spring Cloud

  • GA:General availability:通用版本。并且已经很稳定了,功能齐全。官方推荐使用此版本。

  • RC:Release candidate:发布候选版本。功能较为齐全,相对稳定,问题应该相对少和次要,值得报告,bug将会修复。

  • M:Milestone build:里程碑版本。功能还不全,项目完成了一个计划,但是还是可能有问题的。

  • SRX:Service Release:服务发布版本。

  • SNAPSHOT:快照版,可以稳定使用,且仍在继续改进版本。

比如我上一次改造项目的时候,我用的SpringBoot版本是1.5.14,SpringCloud版本是Edgware.SR5.

<parent>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-parent</artifactId>
   <version>1.5.14.RELEASE</version>
   <relativePath />
</parent>

<properties>
   <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   <java-version>1.8</java-version>
   <spring-cloud.version>Edgware.SR5</spring-cloud.version>
</properties>

<dependencyManagement>
   <dependencies>
      <dependency>
         <groupId>org.springframework.cloud</groupId>
         <artifactId>spring-cloud-dependencies</artifactId>
         <version>${spring-cloud.version}</version>
         <type>pom</type>
         <scope>import</scope>
      </dependency>
   </dependencies>
</dependencyManagement>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值