首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

Spring Cloud Finchley.SR1 发布,修复模块的 bug

Spring Cloud Finchley 的 Service Release 1 (SR1) 版本已发布,本次更新主要是对其包含的一些模块进行了升级,查看发布说明以了解更多信息。Spring Cloud Finchley 基于 Spring Boot 2.0.x?而构建。

已升级的模块

  • Based on Spring Boot 2.0.4.RELEASE
  • Spring Cloud Consul?2.0.1.RELEASE?(issues)
  • Spring Cloud Gateway?2.0.1.RELEASE?(issues)
  • Spring Cloud Sleuth?2.0.1.RELEASE?(issues)
  • Spring Cloud Config?2.0.1.RELEASE?(issues)
  • Spring Cloud Netflix?2.0.1.RELEASE?(issues)
  • Spring Cloud Commons?2.0.1.RELEASE?(issues)
  • Spring Cloud Contract?2.0.1.RELEASE?(issues)
  • Spring Cloud Stream?Elmhurst.SR1?(Release Notes)
  • Spring Cloud Vault?2.0.1.RELEASE?(issues)
  • Spring Cloud Openfeign?2.0.1.RELEASE?(issues)

使用

通过附带有 BOM 的 Maven 开始使用:

代码语言:javascript
复制
<dependencyManagement>
????<dependencies>
????????<dependency>
????????????<groupId>org.springframework.cloud</groupId>
????????????<artifactId>spring-cloud-dependencies</artifactId>
????????????<version>Finchley.SR1</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

代码语言:javascript
复制
buildscript?{
????dependencies?{
????????classpath?"io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
????}
}
apply?plugin:?"io.spring.dependency-management"
dependencyManagement?{
????imports?{
????????mavenBom?'org.springframework.cloud:spring-cloud-dependencies:Finchley.SR1'
????}
}
dependencies?{
????compile?'org.springframework.cloud:spring-cloud-starter-config'
????compile?'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
????...
}
  • 发表于:
  • 原文链接https://www.oschina.net/news/98613/spring-cloud-finchley-sr1-released
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券
http://www.vxiaotou.com