zoukankan      html  css  js  c++  java
  • SpringCloud和SpringBoot对应的版本选型

    SpringBoot版本选择:

    官网地址:https://spring.io/projects/spring-boot

     SpringBoot官方目前最新最稳定版:2.3.1,如果单独使用SpringBoot的话,建议就可以选择官方指定的最新最稳定版。

    但是,如果需要和SpringCloud整合,就得看SpringCloud的版本需要适配SpringBoot的哪个版本了

    SpringCloud版本选择:

    官网地址:https://spring.io/projects/spring-cloud

    SpringCloud采用了 英国伦敦地铁站 的名称来命名,并由地铁站名称首字母 A-Z 一次类推的形式来发布迭代版本。例如 Angel 是第一个版本,Brixton 是第二个版本...,目前最新版本是Hoxton。

    另外,当SpringCloud的发布内容积累到临界点或者一个重大BUG被解决后,会发布一个“service releases” 版本,简称 SRX 版本,比如当前的 Hoxton SR6,就是SpringCloud发布的Hoxton版本的第6个SRX版本

    一步到位选择SpringBoot版本的办法:https://spring.io/projects/spring-cloud#learn

    不知道为啥,我从第一个页面看到的是Hoxton SR6版本,点进去后成了SR5版本,估计是刚发布SR6版本,对应的还没更新...

    通过下面其他方式,也可以看到对应的版本信息,但是没有上面这个详细: 

    在 https://spring.io/projects/spring-cloud#overview  中指定了不同的SpringCloud版本对应的SpringBoot版本:

    官网建议:Hoxton版本的SpringCloud,需要对应2.2.x 版本的SpringBoot。

    更详细的版本对应查看方法:

    查看地址:https://start.spring.io/actuator/info

    返回内容:

     这里就可以看到详细的对应关系。

    {
      "git": {
        "branch": "2221108afdb26533bcbde43d88651c3a0735c92b",
        "commit": {
          "id": "2221108",
          "time": "2020-07-01T13:12:10Z"
        }
      },
      "build": {
        "version": "0.0.1-SNAPSHOT",
        "artifact": "start-site",
        "versions": {
          "spring-boot": "2.3.1.RELEASE",
          "initializr": "0.9.0.BUILD-SNAPSHOT"
        },
        "name": "start.spring.io website",
        "time": "2020-07-01T13:13:18.488Z",
        "group": "io.spring.start"
      },
      "bom-ranges": {
        "azure": {
          "2.0.10": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
          "2.1.10": "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1",
          "2.2.4": "Spring Boot >=2.2.0.M1 and <2.3.0.M1",
          "2.3.1": "Spring Boot >=2.3.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.3": "Spring Boot >=2.2.0.M1"
        },
        "solace-spring-boot": {
          "1.0.0": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1",
          "1.1.0": "Spring Boot >=2.3.0.M1"
        },
        "solace-spring-cloud": {
          "1.0.0": "Spring Boot >=2.2.0.RELEASE and <2.3.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.SR6": "Spring Boot >=2.1.0.RELEASE and <2.1.16.BUILD-SNAPSHOT",
          "Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.16.BUILD-SNAPSHOT and <2.2.0.M4",
          "Hoxton.SR6": "Spring Boot >=2.2.0.M4 and <2.3.2.BUILD-SNAPSHOT",
          "Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.3.2.BUILD-SNAPSHOT and <2.4.0.M1",
          "2020.0.0-SNAPSHOT": "Spring Boot >=2.4.0.M1"
        },
        "spring-cloud-alibaba": {
          "2.2.1.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.7.RELEASE": "Spring Boot >=2.1.0.RELEASE and <2.2.0.RELEASE",
          "2.2.3.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1"
        },
        "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.2.3": "Spring Boot >=2.1.0.M1 and <2.4.0-M1"
        },
        "wavefront": {
          "2.0.0-SNAPSHOT": "Spring Boot >=2.1.0.RELEASE"
        }
      },
      "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 and <2.4.0-M1"
        },
        "mybatis": {
          "2.0.1": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
          "2.1.3": "Spring Boot >=2.1.0.RELEASE and <2.4.0-M1"
        },
        "geode": {
          "1.2.8.RELEASE": "Spring Boot >=2.2.0.M5 and <2.3.0.M1",
          "1.3.0.RELEASE": "Spring Boot >=2.3.0.M1 and <2.4.0-M1"
        },
        "camel": {
          "2.22.4": "Spring Boot >=2.0.0.M1 and <2.1.0.M1",
          "2.25.1": "Spring Boot >=2.1.0.M1 and <2.2.0.M1",
          "3.3.0": "Spring Boot >=2.2.0.M1 and <2.3.0.M1",
          "3.4.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1"
        },
        "open-service-broker": {
          "2.1.3.RELEASE": "Spring Boot >=2.0.0.RELEASE and <2.1.0.M1",
          "3.0.4.RELEASE": "Spring Boot >=2.1.0.M1 and <2.2.0.M1",
          "3.1.1.RELEASE": "Spring Boot >=2.2.0.M1 and <2.4.0-M1"
        }
      }
    }
    返回json
  • 相关阅读:
    POJ 1651:Multiplication Puzzle(区间DP)
    POJ 2955:Brackets(区间DP)
    LightOJ 1422:Halloween Costumes(区间DP入门)
    Gym 101257G:24(尺取)
    Codeforces 777D:Cloud of Hashtags(水题)
    Gym 101257B:2Trees(DFS+思维)
    Codeforces 777C:Alyona and Spreadsheet(思维)
    Codeforces 776C:Molly's Chemicals(思维)
    HDU-3440 House Man
    BZOJ-1202 狡猾的商人
  • 原文地址:https://www.cnblogs.com/y3blogs/p/13263717.html
Copyright © 2011-2022 走看看