取得领先
VMware 提供培训和认证,以加速您的进步。
了解更多我谨代表社区高兴地宣布 Spring Cloud Dalston 发布线的 Service Release 2 (SR2) 今天可用。 该版本可以在 Maven Central 中找到。 您可以查看 Dalston 发行说明以获取更多信息。
此版本主要是一个错误修复版本,建议用户升级。
Angel 和 Brixton 发布线已达到其生命周期。 因此,将不再向这些发布线发布任何版本。 建议社区升级到 Camden.SR7 或 Dalston.SR2。
以下模块已作为 Dalston.SR2 的一部分进行了更新
模块 | 版本 |
---|---|
Spring Cloud Commons | 1.2.3.RELEASE |
Spring Cloud Config | 1.3.2.RELEASE |
Spring Boot | 1.5.4.RELEASE |
Spring Cloud Task | 1.1.2.RELEASE |
Spring Cloud Build | 1.3.3.RELEASE |
Spring Cloud Zookeeper | 1.1.1.RELEASE |
Spring Boot Starter | 1.5.4.RELEASE |
Spring Cloud Cloudfoundry | 1.1.0.RELEASE |
Spring Cloud Stream | Chelsea.SR2 |
Spring Cloud Aws | 1.2.1.RELEASE |
Spring Cloud Dependencies | 1.3.3.RELEASE |
Spring Cloud Security | 1.2.1.RELEASE |
Spring Cloud Bus | 1.3.1.RELEASE |
Spring Cloud Sleuth | 1.2.2.RELEASE |
Spring Cloud Netflix | 1.3.2.RELEASE |
Spring Cloud Contract | 1.1.2.RELEASE |
Spring Cloud Vault | 1.0.2.RELEASE |
Spring Cloud Consul | 1.2.1.RELEASE |
与往常一样,我们欢迎反馈:可以在 GitHub 上,在 Gitter 上,在 Stack Overflow 上,或者在 Twitter 上。
使用 Maven 和 BOM (仅依赖管理) 开始
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Dalston.SR2</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.SR2'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
...
}