领先一步
VMware 提供培训和认证,以快速提升您的进步。
了解更多我谨代表社区宣布,Spring Cloud Finchley 版本列车 的服务版本 4 (SR4) 今日正式发布。此版本可在Maven Central找到。您可以查看 Finchley 的发行说明以了解更多信息。Spring Cloud Finchley
以下模块已作为 Finchley.SR4 的一部分进行了更新
| 模块 | 版本 | 问题 |---|---|---|---|---| Spring Cloud Commons | 2.0.4.RELEASE | (问题) | Spring Cloud Openfeign | 2.0.4.RELEASE | | Spring Cloud Dependencies | Finchley.SR4 | | Spring Cloud Release | Finchley.SR4 | | Spring Cloud Starter | Finchley.SR4 | | Spring Cloud Stream | Elmhurst.SR3 | | Spring Cloud Cloudfoundry | 2.0.2.RELEASE | | Spring Cloud Task | 2.0.2.RELEASE | | Spring Cloud Build | 2.0.6.RELEASE | | Spring Cloud Vault | 2.0.4.RELEASE | (问题) | Spring Cloud Zookeeper | 2.0.2.RELEASE | | Spring Cloud Config | 2.0.5.RELEASE | (问题) | Spring Cloud Aws | 2.0.3.RELEASE | | Spring Cloud Bus | 2.0.2.RELEASE | | Spring Cloud | Finchley.SR4 | | Spring Cloud Security | 2.0.2.RELEASE | | Spring Cloud Gateway | 2.0.4.RELEASE | (问题) | Spring Cloud Netflix | 2.0.4.RELEASE | (问题) | Spring Cloud Sleuth | 2.0.4.RELEASE | (问题) | Spring Cloud Consul | 2.0.3.RELEASE | (问题) | Spring Cloud Contract | 2.0.4.RELEASE | (问题) | Spring Cloud Function | 1.0.2.RELEASE |
与往常一样,我们欢迎您在GitHub、Gitter、Stack Overflow或Twitter上提供反馈。
使用包含 BOM(仅依赖项管理)的 Maven 开始
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR4</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:Finchley.SR4'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}