Springboot依赖
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${spring-boot.version}</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
Springcloud依赖
<!-- 版本锁定 -->
<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>
Springboot和Springcloud之间对应关系
Springboot版本(spring-boot.version) | Springcloud版本 (spring-cloud.version) |
between 2.0.0.M3 and 2.0.0.M5 | Finchley.M2 |
2.0.0.M5 | Finchley.M3 |
2.0.0.M6 | Finchley.M4 |
2.0.0.M7 | Finchley.M5 |
between 2.0.0.RC1 and <=2.0.0.RC1 | Finchley.M6 |
2.0.0.RC2 | Finchley.M7 |
2.0.0.RELEASE | Finchley.M9 |
between 2.0.1.RELEASE and 2.0.2.RELEASE | Finchley.RC1 |
between 2.0.2.RELEASE and 2.0.3.RELEASE | Finchley.RC2 |
between 2.0.3.RELEASE and 2.0.999.BUILD-SNAPSHOT | Finchley.SR4 |
between 2.0.999.BUILD-SNAPSHOT and 2.1.0.M3 | Finchley.BUILD-SNAPSHOT |
between 2.1.0.M3 and 2.1.0.RELEASE | Greenwich.M1 |
between 2.1.0.RELEASE and 2.1.16.BUILD-SNAPSHOT | Greenwich.SR6 |
between 2.1.16.BUILD-SNAPSHOT and 2.2.0.M4 | Greenwich.BUILD-SNAPSHOT |
between 2.2.0.M4 and 2.3.2.BUILD-SNAPSHOT | Hoxton.SR6 |
between Spring Boot >=2.2.0.RELEASE and <2.3.10.BUILD-SNAPSHOT | Hoxton.SR10 |
between Spring Boot >=2.3.10.BUILD-SNAPSHOT and <2.4.0.M1 | Hoxton.BUILD-SNAPSHOT |
between Spring Boot >=2.4.0.M1 and <=2.4.0.M1 | 2020.0.0-M3 |
between Spring Boot >=2.4.0.M2 and <=2.4.0-M3 | 2020.0.0-M4 |
between Spring Boot >=2.4.0.M4 and <=2.4.0 | 2020.0.0 |
between Spring Boot >=2.4.1 and <2.5.0-M1 | 2020.0.1 |
between Spring Boot >=2.4.4-SNAPSHOT | 2020.0.2-SNAPSHOT |
最新信息参考文档详情见:
获取信息列表连接 https://start.spring.io/actuator/info
以下列表信息跟spring官网稍微有差别(spring官网查询信息省略了以前的版本),为了方便使用老版本的读者就特殊添加了老版本的列表信息,对应使用最新版本可以忽略本信息!!
{
"git": {
"branch": "81d36f13217a58e689b3d5c83f0d3e70622ab4bd",
"commit": {
"id": "81d36f1",
"time": "2020-07-09T16:02:52Z"
}
},
"build": {
"version": "0.0.1-SNAPSHOT",
"artifact": "start-site",
"versions": {
"spring-boot": "2.3.1.RELEASE",
"initializr": "0.9.0-SNAPSHOT"
},
"name": "start.spring.io website",
"time": "2020-07-09T16:04:18.750Z",
"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.SR10": "Spring Boot >=2.2.0.RELEASE and <2.3.10.BUILD-SNAPSHOT",
"Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.3.10.BUILD-SNAPSHOT and <2.4.0.M1",
"2020.0.0-M3": "Spring Boot >=2.4.0.M1 and <=2.4.0.M1",
"2020.0.0-M4": "Spring Boot >=2.4.0.M2 and <=2.4.0-M3",
"2020.0.0": "Spring Boot >=2.4.0.M4 and <=2.4.0",
"2020.0.1": "Spring Boot >=2.4.1 and <2.5.0-M1",
"2020.0.2-SNAPSHOT": "Spring Boot >=2.4.4-SNAPSHOT"
},
"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"
}
}
}
------------------------------------------------------------------------
作者:编码世界
来源:CSDN
原文:https://blog.csdn.net/dgxin_605/article/details/104030266
版权声明:本文为博主原创文章,转载请附上博文链接!
------------------------------------------------------------------------