领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,很高兴地宣布 Spring Cloud Dalston Release Train 的 Service Release 1 (SR1) 于今日发布。您可以在 Maven Central 中找到此版本。它主要是一个 bug 修复和文档更新。您可以查看 Dalston 发行说明以获取更多信息。
作为 Dalston.SR1 的一部分,以下模块已更新
| 模块 | 版本 |
|---|---|
| Spring Cloud Aws | 1.2.1.RELEASE |
| Spring Cloud Bus | 1.3.1.RELEASE |
| Spring Cloud Commons | 1.2.2.RELEASE |
| Spring Cloud Config | 1.3.1.RELEASE |
| Spring Cloud Consul | 1.2.1.RELEASE |
| Spring Cloud Contract | 1.1.1.RELEASE |
| Spring Cloud Netflix | 1.3.1.RELEASE |
| Spring Cloud Security | 1.2.1.RELEASE |
| Spring Cloud Sleuth | 1.2.1.RELEASE |
| Spring Cloud Stream | Chelsea.SR2 |
| Spring Cloud Vault | 1.0.1.RELEASE |
| Spring Cloud Zookeeper | 1.1.1.RELEASE |
一如既往,我们欢迎反馈:可以在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Dalston.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-eureka</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:Dalston.SR1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
...
}