领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,很高兴地宣布 Spring Cloud Edgware Release Train 的服务版本 3 (SR3) 今天已发布。该版本可在 Maven Central 中找到。您可以查看 Edgware 版本说明以获取更多信息。
stubrunner.snapshot-check-skip 或环境变量 STUBRUNNER_SNAPSHOT_CHECK_SKIP 为 true,您可以禁用下载的 stubs jar 的 SNAPSHOT 断言,例如在 CI 服务器中。以下模块已作为 Edgware.SR3 的一部分进行更新
| 模块 | 版本 |
|---|---|
| Spring Cloud Contract | 1.2.4.RELEASE |
| Spring Cloud Consul | 1.3.3.RELEASE |
| Spring Cloud Zookeeper | 1.2.1.RELEASE |
| Spring Cloud Sleuth | 1.3.3.RELEASE |
| Spring Cloud Config | 1.4.3.RELEASE |
| Spring Cloud Netflix | 1.4.4.RELEASE |
| Spring Cloud Commons | 1.3.3.RELEASE |
一如既往,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Edgware.SR3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</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-netflix-eureka-client</artifactId>
</dependency>
...
</dependencies>
或使用 Gradle
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Edgware.SR3'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}