领先一步
VMware提供培训和认证,以加快您的进度。
了解更多我代表社区,高兴地宣布Spring Cloud 2021.0.4发布列车已正式发布(正式版)。该版本可在Maven Central中找到。您可以查看2021.0.4的发行说明以了解更多信息。
查看项目页面以了解此版本中包含的所有问题和拉取请求。
以下模块已作为2021.0.4的一部分更新
模块 | 版本 | 问题 |
---|---|---|
Spring Cloud Netflix | 3.1.4 | (问题) |
Spring Cloud Config | 3.1.4 | (问题) |
Spring Cloud Build | 3.1.4 | |
Spring Cloud Sleuth | 3.1.4 | (问题) |
Spring Cloud Gateway | 3.1.4 | (问题) |
Spring Cloud Starter Build | 2021.0.4 | |
Spring Cloud Consul | 3.1.2 | (问题) |
Spring Cloud Contract | 3.1.4 | (问题) |
Spring Cloud Kubernetes | 2.1.4 | (问题) |
Spring Cloud Zookeeper | 3.1.3 | (问题) |
Spring Cloud Task | 2.4.4 | |
Spring Cloud Openfeign | 3.1.4 | (问题) |
Spring Cloud Circuitbreaker | 2.1.4 | |
Spring Cloud Stream | 3.2.5 | |
Spring Cloud Commons | 3.1.4 | (问题) |
Spring Cloud Function | 3.2.7 |
与往常一样,我们欢迎您在GitHub、Gitter、Stack Overflow或Twitter上提供反馈。
要开始使用带有BOM的Maven(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
...
</dependencies>
或使用Gradle
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2021.0.4'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}