转载

Spring Cloud Finchley M8 发布,兼容 Spring Boot 2

Spring Cloud Finchley 的第 8 个里程碑版 M8 已发布 ,该版本最值得关注的更新莫过于与 Spring Boot 2.0.0.RELEASE 兼容,但不与 Spring Boot 1.x.y 兼容。其他更新:

  • Spring Cloud Gateway:一些错误修复和小的配置增强

  • Spring Cloud Bus:修复自定义远程事件

  • Spring Cloud Security:升级至 spring-security-oauth2-autoconfigure 2.0.0.RELEASE.

  • Spring Cloud Config:支持  Gitee webhooks

  • Spring Cloud Stream:请查看 Elmhurst.RC2  发布说明

组件版本升级:

  • Based on Spring Boot 2.0.0.RELEASE

  • Spring Cloud Gateway 2.0.0.M8 ( issues )

  • Spring Cloud Bus 2.0.0.M7

  • Spring Cloud Security 2.0.0.M3

  • Spring Cloud Commons 2.0.0.M8 ( issues )

  • Spring Cloud Config 2.0.0.M8 ( issues )

  • Spring Cloud Stream Elmhurst.RC2 ( release notes )

详情请查看发布说明: https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Finchley-Release-Notes

Maven

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>http://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Finchley.M8</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"
    }
}

repositories {
    maven {
        url 'http://repo.spring.io/milestone'
    }
}

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

dependencyManagement {
    imports {
        mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Finchley.M8'
    }
}

dependencies {
    compile 'org.springframework.cloud:spring-cloud-starter-config'
    compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
    ...
}
原文  https://www.oschina.net/news/93838/spring-cloud-finchley-m8-released
正文到此结束
Loading...