SpringBoot、SpringCloud 版本查看

本文介绍了SpringBoot和SpringCloud的官方网站地址,以及它们的版本对应关系,包括SpringBootStarterParent和SpringCloudDependencies的版本列表。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、SpringBoot 官网地址

        https://spring.io/projects/spring-boot#learn

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

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

2、SpringCloud 官网地址

        https://spring.io/projects/spring-cloud#learn

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

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

         https://docs.spring.io/spring-cloud/docs/2021.0.8/reference/html/

3、SpringBoot 与 SpringCloud 版本对应

        https://start.spring.io/actuator/info

        2023年8月3日内容

{
git: {
branch: "becf4950e2f92f874633bacdcea750142ed2cef4",
commit: {
id: "becf495",
time: "2023-08-02T11:41:07Z"
}
},
build: {
version: "0.0.1-SNAPSHOT",
artifact: "start-site",
versions: {
spring-boot: "3.1.2",
initializr: "0.20.1-SNAPSHOT"
},
name: "start.spring.io website",
time: "2023-08-02T11:44:10.452Z",
group: "io.spring.start"
},
bom-ranges: {
codecentric-spring-boot-admin: {
2.6.8: "Spring Boot >=2.6.0 and <2.7.0-M1",
2.7.4: "Spring Boot >=2.7.0-M1 and <3.0.0-M1",
3.0.4: "Spring Boot >=3.0.0-M1 and <3.1.0-M1",
3.1.1: "Spring Boot >=3.1.0-M1 and <3.2.0-M1"
},
hilla: {
2.1.4: "Spring Boot >=3.1.0-M1 and <3.2.0-M1"
},
sentry: {
6.26.0: "Spring Boot >=2.7.0 and <3.2.0-M1"
},
solace-spring-boot: {
1.2.2: "Spring Boot >=2.6.0 and <3.0.0-M1",
2.0.0: "Spring Boot >=3.0.0-M1"
},
solace-spring-cloud: {
2.3.2: "Spring Boot >=2.6.0 and <3.0.0-M1",
3.0.0: "Spring Boot >=3.0.0-M1"
},
spring-cloud: {
2021.0.8: "Spring Boot >=2.6.0 and <3.0.0",
2022.0.4: "Spring Boot >=3.0.0 and <3.2.0-M1"
},
spring-cloud-azure: {
4.10.0: "Spring Boot >=2.6.0 and <3.0.0-M1",
5.4.0: "Spring Boot >=3.0.0-M1 and <3.2.0-M1"
},
spring-cloud-gcp: {
3.5.4: "Spring Boot >=2.6.0 and <3.0.0-M1",
4.5.1: "Spring Boot >=3.0.0-M1 and <3.2.0-M1"
},
spring-cloud-services: {
3.4.0: "Spring Boot >=2.6.0 and <2.7.0-M1",
3.5.0: "Spring Boot >=2.7.0-M1 and <3.0.0-M1",
4.0.3: "Spring Boot >=3.0.0 and <3.2.0-M1"
},
spring-modulith: {
1.0.0-M1: "Spring Boot >=3.1.0 and <3.2.0-M1"
},
spring-shell: {
2.1.12: "Spring Boot >=2.7.0 and <3.0.0-M1",
3.0.7: "Spring Boot >=3.0.0 and <3.1.0-M1",
3.1.3: "Spring Boot >=3.1.0 and <3.2.0-M1"
},
vaadin: {
23.2.15: "Spring Boot >=2.6.0 and <2.7.0-M1",
23.3.18: "Spring Boot >=2.7.0-M1 and <3.0.0-M1",
24.0.11: "Spring Boot >=3.0.0-M1 and <3.1.0-M1",
24.1.4: "Spring Boot >=3.1.0-M1 and <3.2.0-M1"
},
wavefront: {
2.2.2: "Spring Boot >=2.6.0 and <2.7.0-M1",
2.3.4: "Spring Boot >=2.7.0-M1 and <3.0.0-M1",
3.0.1: "Spring Boot >=3.0.0-M1 and <3.1.0-M1"
}
},
dependency-ranges: {
okta: {
2.1.6: "Spring Boot >=2.6.0 and <3.0.0-M1",
3.0.4: "Spring Boot >=3.0.0-M1 and <3.2.0-M1"
},
mybatis: {
2.2.2: "Spring Boot >=2.6.0 and <2.7.0-M1",
2.3.1: "Spring Boot >=2.7.0-M1 and <3.0.0-M1",
3.0.2: "Spring Boot >=3.0.0-M1"
},
pulsar: {
0.2.0: "Spring Boot >=3.0.0 and <3.2.0-M1"
},
pulsar-reactive: {
0.2.0: "Spring Boot >=3.0.0 and <3.2.0-M1"
},
camel: {
3.17.0: "Spring Boot >=2.6.0 and <2.7.0-M1",
3.20.6: "Spring Boot >=2.7.0.M1 and <3.0.0-M1",
4.0.0-RC2: "Spring Boot >=3.0.0-M1 and <3.2.0-M1"
},
picocli: {
4.7.4: "Spring Boot >=2.6.0 and <3.1.0-M1"
}
}
}
### Spring BootSpring CloudSpring Cloud Alibaba 的版本兼容性 对于不同框架间的版本匹配,以下是基于现有资料整理的版本兼容性对照表: | Spring Boot | Spring Cloud | Spring Cloud Alibaba | |--|----------------------| | 2.1.x | Greenwich | 2.1.x | | 2.2.x | Hoxton | 2.2.x | | 2.3.x | Hoxton (SR系列) | 2.2.x | | 2.4.x | 2020.0.x | 2.2.x | | 2.5.x | 2020.0.x | 2.2.x | | 2.6.x | 2021.0.x | 2021.0.x | 从表格可以看出,在某些情况下,多个次要版本Spring Boot 可能会支持同一个主要版本Spring Cloud 或者 Spring Cloud Alibaba。 自2021年起,Spring Cloud Alibaba 版本命名方式进行了调整。新的命名规则为前三位代表所适配的 Spring Cloud 主要版本号,第四位表示该组合下的迭代次数。例如,针对 Spring Cloud 2021.0.1 发布的第一个 Spring Cloud Alibaba 版本将是 `2021.0.1.0`[^4]。 为了确保项目的稳定性,建议开发者依据实际需求选择合适的版本组合,并关注官方文档中的最新更新信息来获取最准确的支持情况[^5]。 ```java // 示例代码展示如何配置pom.xml文件以指定特定版本 <dependencyManagement> <dependencies> <!-- 使用BOM管理依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${springboot.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>${springcloud.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-alibaba-dependencies</artifactId> <version>${springcloudalibaba.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值