其他
Spring Cloud Greenwich 最后一个计划版本发布!
相关推荐:
发布主页显示,此版本包含错误修复、较小的功能增强以及文档更新。
这是Greenwich Release Train的最终计划发行版本,并且官方建议尽快升级到 Hoxton,Greenwich .SR5 基于 Spring Boot 2.1.12。
Spring Cloud Commons
PropertySource
分别添加到环境中,而不是添加到组合中。MODULE | VERSION |
---|---|
Spring Cloud Build | 2.1.10.RELEASE |
Spring Cloud Sleuth | 2.1.7.RELEASE |
Spring Cloud Consul | 2.1.5.RELEASE |
Spring Cloud Gateway | 2.1.5.RELEASE |
Spring Cloud Contract | 2.1.5.RELEASE |
Spring Cloud Netflix | 2.1.5.RELEASE |
Spring Cloud Gcp | 1.1.5.RELEASE |
Spring Cloud Config | 2.1.6.RELEASE |
Spring Cloud Openfeign | 2.1.5.RELEASE |
Spring Cloud Commons | 2.1.5.RELEASE |
Spring Cloud Aws | 2.1.4.RELEASE |
Spring Cloud Vault | 2.1.5.RELEASE |
Spring Cloud Bus | 2.1.4.RELEASE |
Spring Cloud Kubernetes | 1.0.5.RELEASE |
获取方式
Maven
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.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
plugins {
id 'org.springframework.boot' version '2.1.12.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
// ...
}
完整发布日志和下载地址:
https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Greenwich-Release-Notes
作者:局长
END
学习资料:
最近热文:
Spring干货:
点击「阅读原文」带你飞~