领先一步
VMware 提供培训和认证,以加快您的进度。
了解更多我代表社区很高兴地宣布,Spring Cloud Dalston 发布列车的服务版本 5 (SR5) 今日已上线。此版本可在 Maven Central 中找到。您可以查看 Dalston 的 发行说明以了解更多信息。
以下是 Dalston.SR5 更新的模块
模块 | 版本 |
---|---|
Spring Cloud Contract | 1.1.5.RELEASE |
Spring Cloud Cloudfoundry | 1.1.1.RELEASE |
Spring Cloud Task | 1.1.2.RELEASE |
Spring Cloud Sleuth | 1.2.6.RELEASE |
Spring Cloud Consul | 1.2.3.RELEASE |
Spring Cloud Stream | Chelsea.SR2 |
Spring Cloud Aws | 1.2.1.RELEASE |
Spring Cloud Security | 1.2.1.RELEASE |
Spring Cloud Bus | 1.3.1.RELEASE |
Spring Cloud Config | 1.3.4.RELEASE |
Spring Cloud Zookeeper | 1.1.3.RELEASE |
Spring Cloud Netflix | 1.3.6.RELEASE |
Spring Cloud Vault | 1.0.2.RELEASE |
Spring Cloud Commons | 1.2.5.RELEASE |
Spring Boot | 1.5.9.RELEASE |
与往常一样,我们欢迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
要使用包含 BOM(仅依赖管理)的 Maven 开始
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Dalston.SR5</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"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Dalston.SR5'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}