领先一步
VMware提供培训和认证,以快速提升您的进度。
了解更多我谨代表社区宣布,Spring Cloud 2022.0.0发布列车的里程碑版本5 (M5) 今日已发布。可在Spring里程碑存储库中找到此版本。您可以查看2022.0.0的发行说明以了解更多信息。
ServiceInstance
自定义负载均衡请求(#735)以下模块已作为2022.0.0-M5的一部分更新
模块 | 版本 | 问题 |
---|---|---|
Spring Cloud Stream | 4.0.0-M5 | |
Spring Cloud Config | 4.0.0-M5 | (问题) |
Spring Cloud Build | 4.0.0-M5 | (问题) |
Spring Cloud Consul | 4.0.0-M5 | (问题) |
Spring Cloud Gateway | 4.0.0-M5 | (问题) |
Spring Cloud Kubernetes | 3.0.0-M5 | (问题) |
Spring Cloud Netflix | 4.0.0-M1 | (问题) |
Spring Cloud Starter Build | 2022.0.0-M5 | |
Spring Cloud Circuitbreaker | 3.0.0-M5 | (问题) |
Spring Cloud Contract | 4.0.0-M5 | (问题) |
Spring Cloud Bus | 4.0.0-M5 | (问题) |
Spring Cloud Function | 4.0.0-M5 | |
Spring Cloud Task | 3.0.0-M5 | (问题) |
Spring Cloud Zookeeper | 4.0.0-M5 | (问题) |
Spring Cloud Openfeign | 4.0.0-M5 | (问题) |
Spring Cloud Vault | 4.0.0-M5 | (问题) |
Spring Cloud Commons | 4.0.0-M5 | (问题) |
与以往一样,我们欢迎您在GitHub、Gitter、Stack Overflow或Twitter上提供反馈。
要使用带有BOM的Maven开始(仅依赖管理)
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://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>2022.0.0-M5</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
plugins {
id 'org.springframework.boot' version '3.0.0-M5'
id 'io.spring.dependency-management' version '1.0.14.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}
ext {
set('springCloudVersion', "2022.0.0-M5")
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
}
...
}