Spring Cloud 子项目 Spring Cloud Edgware.SR1 发布

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

内容简介:Spring Cloud 子项目 Spring Cloud Edgware.SR1 发布

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

以下模块作为 Edgware.SR1 的一部分进行了更新:

MODULE VERSION
Spring Cloud Gateway 1.0.1.RELEASE
Spring Cloud Stream Ditmars.SR3
Spring Cloud Config 1.4.1.RELEASE
Spring Cloud Netflix 1.4.2.RELEASE
Spring Cloud Commons 1.3.1.RELEASE
Spring Cloud Consul 1.3.1.RELEASE
Spring Cloud Sleuth 1.3.1.RELEASE
Spring Cloud Security 1.2.2.RELEASE
Spring Cloud Contract 1.2.2.RELEASE

使用

通过 BOM(仅依赖关系管理)和 Maven 开始使用:

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

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

dependencies {
    compile 'org.springframework.cloud:spring-cloud-starter-config'
    compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
    ...
}

点此查看发布主页


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

Java编程思想

Java编程思想

[美] Bruce Eckel / 陈昊鹏、饶若楠 / 机械工业出版社 / 2005-9 / 95.00元

本书赢得了全球程序员的广泛赞誉,即使是最晦涩的概念,在Bruce Eckel的文字亲和力和小而直接的编程示例面前也会化解于无形。从Java的基础语法到最高级特性(深入的面向对象概念、多线程、自动项目构建、单元测试和调试等),本书都能逐步指导你轻松掌握。 从本书获得的各项大奖以及来自世界各地的读者评论中,不难看出这是一本经典之作。本书的作者拥有多年教学经验,对C、C++以及Java语言都有独到......一起来看看 《Java编程思想》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试