领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,很高兴地宣布 Spring Cloud Greenwich Release Train 的 Release Candidate 2 (RC2) 版本现已发布。您可以在 Spring Milestone 仓库中找到此版本。您可以查看 Greenwich 的 版本说明以获取更多信息。
有关此版本中所有项目问题的完整列表,请参阅 GitHub 上的项目页面。
EnvironmentRepository 以支持 CredHub 后端 (GH-1211)作为 Greenwich.RC2 的一部分,以下模块已更新
| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Security | 2.1.0.RC3 | (issues) | Spring Cloud Vault | 2.1.0.RC1 | | Spring Cloud Contract | 2.1.0.RC3 | (issues) | Spring Cloud Kubernetes | 1.0.0.RC2 | (issues) | Spring Cloud Commons | 2.1.0.RC2 | | Spring Cloud Zookeeper | 2.1.0.RC2 | | Spring Cloud Openfeign | 2.1.0.RC3 | (issues) | Spring Cloud Aws | 2.1.0.RC1 | | Spring Cloud Starter | Greenwich.RC2 | | Spring Cloud Bus | 2.1.0.RC3 | | Spring Cloud Sleuth | 2.1.0.RC3 | (issues) | Spring Cloud Netflix | 2.1.0.RC3 | (issues) | Spring Cloud Stream | Fishtown.RC4 | (issues) | Spring Cloud Gcp | 1.1.0.RC2 | | Spring Cloud Cloudfoundry | 2.1.0.RC2 | | Spring Cloud Build | 2.1.0.RC3 | (issues) | Spring Cloud Dependencies | Greenwich.RC2 | | Spring Cloud Task | 2.1.0.M2 | | Spring Cloud Release | Greenwich.RC2 | | Spring Cloud Function | 2.0.0.RC3 | (issues) | Spring Cloud | Greenwich.RC2 | | Spring Cloud Consul | 2.1.0.RC3 | (issues) | Spring Cloud Config | 2.1.0.RC3 | (issues) | Spring Cloud Gateway | 2.1.0.RC3 | (issues)
一如既往,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.RC2</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"
}
}
repositories {
maven {
url 'http://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Greenwich.RC2'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}