领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我很高兴代表团队宣布 Spring Cloud Camden Release Train 的新服务版本。Camden.SR1 可以在我们的 Spring Release 仓库或 Maven Central 中找到。您可以查阅 Camden 发布说明以获取更多信息。
Camden.SR1 包含以下模块:
| 模块 | 版本 |
|---|---|
| Spring Cloud AWS | 1.1.3.RELEASE |
| Spring Cloud Bus | 1.2.1.RELEASE |
| Spring Cloud Commons | 1.1.4.RELEASE |
| Spring Cloud Contract | 1.0.1.RELEASE |
| Spring Cloud Config | 1.2.1.RELEASE |
| Spring Cloud Netflix | 1.2.1.RELEASE |
| Spring Cloud Security | 1.1.3.RELEASE |
| Spring Cloud Sleuth | 1.0.10.RELEASE |
| Spring Cloud Stream | Brooklyn.RELEASE |
| Spring Cloud Task | 1.0.3.RELEASE |
| Spring Cloud Zookeeper | 1.0.3.RELEASE |
组合式发布火车文档可在 此处 获取。
Spring Cloud CLI 1.2.1.RELEASE 也已发布。您可以 在此处 查看项目页面
Spring Cloud Consul 在此发布中未更新,但版本 1.1.1.RELEASE 在 Camden.SR1 发布后不久发布,其中包含一些用户可能感兴趣的 修复。如果您想升级应用程序中使用的 Consul 版本,您需要在 Maven 或 Gradle 项目中手动指定版本号。
一如既往,我们欢迎您的反馈:可以在 GitHub、Gitter、Stack Overflow 或 Twitter 上提出。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Camden.SR1</version>
<type>pom</type>
<scope>import</scope>
</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-eureka</artifactId>
</dependency>
...
</dependencies>
或使用 Gradle
buildscript {
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE"
}
}
apply plugin: "spring-boot"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
...
}