抢占先机
VMware 提供培训和认证,以加速您的进步。
了解更多我谨代表团队宣布 Spring Cloud Camden Release Train 的 Milestone 1 今天发布。 该版本可以在我们的 Spring Milestone 仓库中找到。 我们进行了许多增强和错误修复! 您可以查看 Camden.M1
发行说明以获取更多信息。
以下模块已作为 Camden.M1 的一部分进行了更新
Spring Cloud Build 1.2.0.RELEASE
Spring Cloud Stream Brooklyn.M1
Spring Cloud Bus 1.2.0.M1
Spring Cloud Config 1.2.0.M1
Spring Cloud Netflix 1.2.0.M1
Spring Cloud Consul 1.1.0.M1
Spring Cloud Contract 1.0.0.M2
Spring Cloud CLI 1.2.0.M1
组合发布系列文档可在此处获得 here
而且,与往常一样,我们欢迎反馈:无论是在 GitHub 上、在 Gitter 上、在 Stack Overflow 上,还是在 Twitter 上。
要开始使用 Maven 和 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-dependencies</artifactId>
<version>Camden.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.6.0.RELEASE"
}
}
repositories {
maven {
url 'http://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.M1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
...
}