领先一步
VMware 提供培训和认证,助您快速提升技能。
了解更多我谨代表社区宣布,Spring Cloud Greenwich 发布列车的 Service Release 1 (SR1) 今天已发布。该版本可以在 Maven Central 中找到。您可以查看 Greenwich 的 发行说明以获取更多信息。
以下模块在 Greenwich.SR1 中进行了更新
| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Netflix | 2.1.1.RELEASE | (问题) | Spring Cloud Stream | Fishtown.SR2 | | Spring Cloud Gcp | 1.1.1.RELEASE | | Spring Cloud Cloudfoundry | 2.1.1.RELEASE | (问题) | Spring Cloud Build | 2.1.3.RELEASE | (问题) | Spring Cloud Commons | 2.1.1.RELEASE | (问题) | Spring Cloud | Greenwich.SR1 | | Spring Cloud OpenFeign | 2.1.1.RELEASE | (问题) | Spring Cloud Task | 2.1.1.RELEASE | | Spring Cloud Sleuth | 2.1.1.RELEASE | (问题) | Spring Cloud Aws | 2.1.1.RELEASE | | Spring Cloud Release | Greenwich.SR1 | | Spring Cloud Zookeeper | 2.1.1.RELEASE | | Spring Cloud Bus | 2.1.1.RELEASE | (问题) | Spring Cloud Vault | 2.1.1.RELEASE | (问题) | Spring Cloud Kubernetes | 1.0.1.RELEASE | (问题) | Spring Cloud Dependencies | Greenwich.SR1 | | Spring Cloud Contract | 2.1.1.RELEASE | (问题) | Spring Cloud Consul | 2.1.1.RELEASE | (问题) | Spring Cloud Gateway | 2.1.1.RELEASE | (问题) | Spring Cloud Function | 2.0.1.RELEASE | (问题) | Spring Cloud Starter | Greenwich.SR1 | | Spring Cloud Config | 2.1.1.RELEASE | (问题) | Spring Cloud Security | 2.1.2.RELEASE |
一如既往,我们欢迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
使用 Maven 和 BOM(仅依赖项管理)入门
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR1</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:Greenwich.SR1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}