Spring Cloud Brixton Release Train 的第一个里程碑现已可用

发布 | Spencer Gibb | 2015 年 9 月 16 日 | ...

我谨代表 Spring Cloud 团队,非常高兴地宣布 Spring Cloud Brixton release train 的第一个里程碑。该里程碑现已可用,可在我们的 Spring Milestone 仓库 中找到。我们进行了大量的增强和错误修复,其中一些亮点包括:

  • 支持 Spring Boot 1.3.x 和 Spring 4.2.x
  • 集群领导选举和锁
  • Hashicorp Consul 支持服务注册/发现、配置和总线
  • Apache Zookeeper 支持服务注册/发现、配置和领导选举
  • Lattice 支持服务注册/发现
  • 分布式跟踪支持

以下是 Brixton.M1 中的新模块:

  • Spring Cloud for Cloud Foundry 1.0.0.M1
  • Spring Cloud Cluster 1.0.0.M1
  • Spring Cloud Consul 1.0.0.M2
  • Spring Cloud Lattice 1.0.0.M1
  • Spring Cloud Sleuth 1.0.0.M1
  • Spring Cloud Zookeeper 1.0.0.M1

以下模块已更新:

  • Spring Cloud Commons 1.1.0.M1
  • Spring Cloud Config 1.1.0.M1
  • Spring Cloud Netflix 1.1.0.M1
  • Spring Cloud Security 1.1.0.M1

Spring Cloud AWS 和 Spring Cloud Bus 在此里程碑版本中未发布新版本。

开始使用 Maven,附带父 POM

<parent>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-starter-parent</artifactId>
  <version>Brixton.M1</version>
</parent>
<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>http://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>

或作为 BOM(仅用于依赖管理)

<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>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-parent</artifactId>
    <version>Brixton.M1</version>
    <type>pom</type>
    <scope>import</scope>
  </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-eureka</artifactId>
  </dependency>
  ...
</dependencies>

或者使用 Gradle:

buildscript {
  dependencies {
    classpath "io.spring.gradle:dependency-management-plugin:0.5.3.RELEASE"
  }
}
repositories {
    maven {
        url 'http://repo.spring.io/milestone'
    }
}
apply plugin: "io.spring.dependency-management"

dependencyManagement {
  imports {
    mavenBom 'org.springframework.cloud:spring-cloud:Brixton.M1'
  }
}

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

#SpringOne 2GX 2015 现已开始! 在华盛顿特区举行的 SpringOne2GX 正在进行中。这是亲身了解所有最新动态并提供直接反馈的最佳机会。

SpringOne 上的 Spring Cloud 会议

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

VMware 提供培训和认证,助您加速进步。

了解更多

获得支持

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件,只需一份简单的订阅。

了解更多

即将举行的活动

查看 Spring 社区所有即将举行的活动。

查看所有