抢占先机
VMware 提供培训和认证,以加速您的进步。
了解更多我很高兴代表 Spring Cloud 团队宣布 Spring Cloud Brixton 发布序列的第一个里程碑版本。 该里程碑版本今天可用,可以在我们的 Spring 里程碑仓库中找到。 我们做了许多增强和错误修复,其中一些亮点包括:
以下是 Brixton.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 讲座