領先一步
VMware 提供培訓和認證,助您加速進步。
瞭解更多我代表社群高興地宣佈,Spring Cloud Finchley釋出火車服務版本4(SR4)今天已可用。該版本可在Maven Central中找到。您可以檢視Finchley的釋出說明以獲取更多資訊。
以下模組已作為 Finchley.SR4 的一部分進行更新
| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Commons | 2.0.4.RELEASE | (問題) | Spring Cloud Openfeign | 2.0.4.RELEASE | | Spring Cloud Dependencies | Finchley.SR4 | | Spring Cloud Release | Finchley.SR4 | | Spring Cloud Starter | Finchley.SR4 | | Spring Cloud Stream | Elmhurst.SR3 | | Spring Cloud Cloudfoundry | 2.0.2.RELEASE | | Spring Cloud Task | 2.0.2.RELEASE | | Spring Cloud Build | 2.0.6.RELEASE | | Spring Cloud Vault | 2.0.4.RELEASE | (問題) | Spring Cloud Zookeeper | 2.0.2.RELEASE | | Spring Cloud Config | 2.0.5.RELEASE | (問題) | Spring Cloud Aws | 2.0.3.RELEASE | | Spring Cloud Bus | 2.0.2.RELEASE | | Spring Cloud | Finchley.SR4 | | Spring Cloud Security | 2.0.2.RELEASE | | Spring Cloud Gateway | 2.0.4.RELEASE | (問題) | Spring Cloud Netflix | 2.0.4.RELEASE | (問題) | Spring Cloud Sleuth | 2.0.4.RELEASE | (問題) | Spring Cloud Consul | 2.0.3.RELEASE | (問題) | Spring Cloud Contract | 2.0.4.RELEASE | (問題) | Spring Cloud Function | 1.0.2.RELEASE |
一如既往,我們歡迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反饋。
Maven 起步使用 BOM(僅依賴管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR4</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:Finchley.SR4'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}