Spring Cloud Edgware.SR6 已发布,该版本可以在 Maven Central 找到,本次更新主要是对其包含的一些模块进行了升级,或查看 Edgware 发布说明以获取更多信息。
需要提醒的是,Spring Cloud Edgware 将于 2019 年 8 月 1 日结束生命周期。
本次主要更新内容:
Spring Cloud Netflix
Spring Cloud Sleuth
Spring Cloud Config
Spring Cloud Commons
Spring Cloud Contract
Spring Cloud Vault
- 升级至 Vault 1.1.3
以下模块作为 Edgware.SR6 的一部分已进行了升级:
MODULE | VERSION | ISSUES |
---|---|---|
Spring Cloud Starter | Edgware.SR6 | |
Spring Cloud Release | Edgware.SR6 | |
Spring Cloud Security | 1.2.4.RELEASE | |
Spring Cloud Bus | 1.3.5.RELEASE | |
Spring Cloud Stream | Ditmars.SR5 | |
Spring Cloud Task | 1.2.4.RELEASE | |
Spring Cloud Netflix | 1.4.7.RELEASE | (issues) |
Spring Cloud Sleuth | 1.3.6.RELEASE | (issues) |
Spring Cloud Config | 1.4.7.RELEASE | (issues) |
Spring Cloud | Edgware.SR6 | |
Spring Cloud Dependencies | Edgware.SR6 | |
Spring Cloud Commons | 1.3.6.RELEASE | (issues) |
Spring Cloud Build | 1.3.13.RELEASE | |
Spring Cloud Vault | 1.1.3.RELEASE | |
Spring Cloud Zookeeper | 1.2.3.RELEASE | |
Spring Cloud Contract | 1.2.7.RELEASE | (issues) |
Spring Cloud Aws | 1.2.4.RELEASE | |
Spring Cloud Consul | 1.3.6.RELEASE | |
Spring Cloud Cloudfoundry | 1.1.3.RELEASE | |
Spring Cloud Function | 1.0.2.RELEASE | |
Spring Cloud Gateway | 1.0.3.RELEASE |
使用
Maven
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Edgware.SR6</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:Edgware.SR6'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}
转自 https://www.oschina.net/news/107091/spring-cloud-edgware-sr6-released