领先一步
VMware 提供培训和认证,以加速您的进步。
了解更多我谨代表社区宣布,Spring Cloud Finchley 发布列车的里程碑版本 4 (M4) 现已发布。此版本可以在 Spring Milestone 存储库中找到。您可以查看 Finchley 的 发行说明以获取更多信息。
此更新主要是为了与 Spring Boot 2.0.0.M6 互操作。
模块 | 版本 |
---|---|
Spring Cloud 依赖项 | 2.0.0.M5 |
Spring Cloud Consul | 2.0.0.M3 |
Spring Cloud Gateway | 2.0.0.M4 |
Spring Cloud Zookeeper | 2.0.0.M3 |
Spring Cloud Sleuth | 2.0.0.M4 |
Spring Cloud Cloudfoundry | 2.0.0.M1 |
Spring Cloud Config | 2.0.0.M4 |
Spring Cloud Netflix | 2.0.0.M4 |
Spring Cloud Contract | 2.0.0.M4 |
Spring Cloud Security | 2.0.0.M1 |
Spring Cloud Stream | Elmhurst.M3 |
Spring Cloud Bus | 2.0.0.M3 |
Spring Cloud Task | 2.0.0.M2 |
Spring Boot Starter | 2.0.0.M6 |
Spring Cloud Aws | 2.0.0.M2 |
Spring Cloud Build | 2.0.0.M5 |
Spring Boot 依赖项 | 2.0.0.M6 |
Spring Cloud Vault | 2.0.0.M4 |
Spring Boot | 2.0.0.M6 |
Spring Cloud Commons | 2.0.0.M4 |
与往常一样,我们欢迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
要使用具有 BOM 的 Maven 开始(仅限依赖项管理)
<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>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.M4</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"
}
}
repositories {
maven {
url 'http://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Finchley.M4'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}