Spring Cloud Finchley M8 发布,兼容 Spring Boot 2 - 开源中国社区
Spring Cloud Finchley M8 发布,兼容 Spring Boot 2
局长 2018年03月03日

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

局长 局长 发布于2018年03月03日 收藏 3

【腾讯云】如何快速搭建微信小程序?>>>  

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'
    ...
}
本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Spring Cloud Finchley M8 发布,兼容 Spring Boot 2
分享
评论(2)
最新评论
0
我似乎看到了gitee.com:neckbeard:
0
我是沙发!!
顶部