抢占先机
VMware 提供培训和认证,以加速您的进步。
了解更多我谨代表社区,高兴地宣布 Spring Cloud Dalston Release Train 的 Service Release 3 (SR3) 今天发布。 可以在 Maven Central 中找到此版本。 您可以查看 Dalston 发行说明以获取更多信息。
此版本主要是错误修复版本,建议用户升级。
以下模块已作为 Dalston.SR3 的一部分进行更新
模块 | 版本 |
---|---|
Spring Cloud Zookeeper | 1.1.2.RELEASE |
Spring Cloud Sleuth | 1.2.4.RELEASE |
Spring Cloud Netflix | 1.3.4.RELEASE |
Spring Cloud Contract | 1.1.3.RELEASE |
并且,与往常一样,我们欢迎反馈:无论是在 GitHub 上,在 Gitter 上,在 Stack Overflow 上,还是在 Twitter 上。
要开始使用带有 BOM(仅依赖管理)的 Maven
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Dalston.SR3</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.SR3'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
...
}