领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我很高兴代表团队宣布 Spring Cloud Camden 发布列车的 Milestone 1 (M1) 已于今日发布。您可以在我们的 Spring Milestone 仓库中找到此版本。我们进行了大量的增强和 bug 修复!您可以查看 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
组合发布版本文档可在 此处 获取
而且,一如既往,我们欢迎您的反馈:无论是通过 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'
...
}