領先一步
VMware 提供培訓和認證,助力你的進步。
瞭解更多我謹代表社群高興地宣佈,Spring Cloud 2022.0.5 Release Train 的通用版本(RELEASE)現已釋出。該版本可以在 Maven Central 中找到。你可以檢視 2022.0.5 版本說明了解更多資訊。
增加了在無伺服器環境(例如 AWS)中將 Web 工作負載(例如 SpringMVC)作為原生可執行檔案執行的支援。更多文件即將推出,你可以在此處檢視示例 - https://github.com/aws/serverless-java-container/tree/main/samples/springboot3/pet-store-native
以下模組作為 2022.0.5 版本的一部分進行了更新
模組 | 版本 | 問題 |
---|---|---|
Spring Cloud Vault | 4.0.2 | (問題) |
Spring Cloud Bus | 4.0.3 | (問題) |
Spring Cloud Zookeeper | 4.0.2 | (問題) |
Spring Cloud Openfeign | 4.0.6 | (問題) |
Spring Cloud Commons | 4.0.5 | (問題) |
Spring Cloud Task | 3.0.4 | (問題) |
Spring Cloud Kubernetes | 3.0.5 | (問題) |
Spring Cloud Function | 4.0.6 | (問題) |
Spring Cloud Circuitbreaker | 3.0.4 | (問題) |
Spring Cloud Netflix | 4.0.4 | (問題) |
Spring Cloud Starter Build | 2022.0.5 | (問題) |
Spring Cloud Stream | 4.0.5 | (問題) |
Spring Cloud Gateway | 4.0.9 | (問題) |
Spring Cloud Build | 4.0.6 | (問題) |
Spring Cloud Config | 4.0.5 | (問題) |
Spring Cloud Consul | 4.0.4 | (問題) |
Spring Cloud Contract | 4.0.5 | (問題) |
一如既往,歡迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反饋。
使用帶 BOM (僅依賴管理) 的 Maven 入門
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.0.5</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:2022.0.5'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}