领先一步
VMware提供培训和认证,以加快您的进度。
了解更多我代表社区,高兴地宣布Spring Cloud Edgware发行列车服务发行版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上提供反馈。
要使用具有BOM(仅依赖项管理)的Maven开始
<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'
...
}