Spring Cloud Brixton 发布序列的第一个里程碑版本已发布

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

我很高兴代表 Spring Cloud 团队宣布 Spring Cloud Brixton 发布序列的第一个里程碑版本。 该里程碑版本今天可用,可以在我们的 Spring 里程碑仓库中找到。 我们做了许多增强和错误修复,其中一些亮点包括:

  • 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 社区中所有即将到来的活动。

查看全部