转载

Spring Cloud 的大版本 Spring Cloud Edgware.SR2 发布

Spring Cloud Edgware.SR2 已发布,该版本可以在 Maven Central 找到,本次更新主要是对其包含的一些模块进行了升级,或查看 Edgware 发布说明 以获取更多信息。

以下模块作为 Edgware.SR2 的一部分已进行了升级:

MODULE VERSION
Spring Cloud Commons 1.3.2.RELEASE
Spring Cloud Contract 1.2.3.RELEASE
Spring Cloud Config 1.4.2.RELEASE
Spring Cloud Build 1.3.8.RELEASE
Spring Boot 1.5.10.RELEASE
Spring Cloud Consul 1.3.2.RELEASE
Spring Cloud Netflix 1.4.3.RELEASE
Spring Cloud Bus 1.3.3.RELEASE
Spring Cloud Sleuth 1.3.2.RELEASE

Edgware.SR2 (2018-02-09)

  • Spring Cloud Bus 1.3.3.RELEASE ( issues )

  • Spring Cloud Config 1.4.2.RELEASE ( issues )

  • Spring Cloud Commons 1.3.2.RELEASE ( issues )

  • Spring Cloud Sleuth 1.3.2.RELEASE ( issues )

  • Spring Cloud Contract 1.2.3.RELEASE ( issues )

  • Spring Cloud Netflix 1.4.3.RELEASE ( issues )

  • Spring Cloud Consul 1.3.2.RELEASE ( issues )

使用

Maven

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



apply plugin: "io.spring.dependency-management"

dependencyManagement {
    imports {
        mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Edgware.SR2'
    }
}

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

点此查看发布主页 。

原文  https://www.oschina.net/news/93269/spring-cloud-edgware-sr2-released
正文到此结束
Loading...