Spring Cloud Finchley.SR2 已正式发布!

栏目: Java · 发布时间: 7年前

内容简介:Spring Cloud Finchley 的 Service Release 2 (SR2) 版本其他详细更新内容通过附带有 BOM 的 Maven 开始使用:

Spring Cloud Finchley 的 Service Release 2 (SR2) 版本 已发布 ,本次更新主要是对其包含的一些模块进行了升级,查看 发布说明 以了解更多信息,可从 Maven 中央仓库 获取源码。Spring Cloud Finchley 基于 Spring Boot 2.0.x 而构建。

已升级的模块

MODULE VERSION
Spring Cloud Gateway 2.0.2.RELEASE
Spring Cloud Sleuth 2.0.2.RELEASE
Spring Cloud Config 2.0.2.RELEASE
Spring Cloud Netflix 2.0.2.RELEASE
Spring Cloud Commons 2.0.2.RELEASE
Spring Cloud Contract 2.0.2.RELEASE
Spring Cloud Vault 2.0.2.RELEASE
Spring Cloud Openfeign 2.0.2.RELEASE
Spring Cloud AWS 2.0.1.RELEASE
Spring Cloud Cloud Foundry 2.0.1.RELEASE
Spring Cloud Security 2.0.1.RELEASE

其他详细更新内容 请查看发布公告 ,主要是各模块的 bug 修复。

使用

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

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Finchley.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-netflix-eureka-client</artifactId>
    </dependency>
    ...
</dependencies>

Gradle

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'
    ...
}

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

2小时品牌素养

2小时品牌素养

邓德隆 / 2009-1 / 38.00元

《2小时品牌素养(第2版)》第一次系统发布有关中国企业的品牌竞争力分析报告,揭示了中国一流企业在品牌战略上面临的深重危机,提出了定位突围之道和实践方法。全书分上下两篇,上篇详细分析了定位的原理,给出定位的三种方法,并特别为中国企业走向世界指出了三条出路;下篇以王老吉品牌战略历程为例,细致论述了一个品牌打造的完整过程,并就品牌实践中的许多关键问题进行了阐述和研讨。作为兼顾理论和实践的第2版,《2小时......一起来看看 《2小时品牌素养》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具