抢占先机
VMware 提供培训和认证,以加速您的进步。
了解更多我很高兴代表社区宣布 Spring Cloud Edgware Release Train 的 Service Release 1 (SR1) 今天发布。该版本可以在 Maven Central 中找到。您可以查看 Edgware 的 发行说明以获取更多信息。
以下模块已作为 Edgware.SR1 的一部分进行了更新
模块 | 版本 |
---|---|
Spring Cloud Gateway | 1.0.1.RELEASE |
Spring Cloud Stream | Ditmars.SR3 |
Spring Cloud Config | 1.4.1.RELEASE |
Spring Cloud Netflix | 1.4.2.RELEASE |
Spring Cloud Commons | 1.3.1.RELEASE |
Spring Cloud Consul | 1.3.1.RELEASE |
Spring Cloud Sleuth | 1.3.1.RELEASE |
Spring Cloud Security | 1.2.2.RELEASE |
Spring Cloud Contract | 1.2.2.RELEASE |
与往常一样,我们欢迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
开始使用 Maven 和 BOM(仅限依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Edgware.SR1</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.SR1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}