Spring 云与 Spring 平台 BOM
Spring cloud vs. Spring platform BOMs
我有一些与 spring "Bill of materials" 的依赖管理相关的问题:
- 我应该同时使用两者来进行完整的 spring 依赖管理吗?
- 它们不兼容吗?有什么问题吗?
我们的项目使用了几个由平台 BOM 管理的依赖项
The Spring Cloud Dependencies BOM must go first, so that its
dependencies have precedence of the Spring IO Platform dependencies.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Brixton.SR1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.spring.platform</groupId>
<artifactId>platform-bom</artifactId>
<version>2.0.5.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
was determined 平台无法管理 spring 云的依赖项。这是将 spring 平台与 spring 云一起使用的推荐方式。
我有一些与 spring "Bill of materials" 的依赖管理相关的问题:
- 我应该同时使用两者来进行完整的 spring 依赖管理吗?
- 它们不兼容吗?有什么问题吗?
我们的项目使用了几个由平台 BOM 管理的依赖项
The Spring Cloud Dependencies BOM must go first, so that its dependencies have precedence of the Spring IO Platform dependencies.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Brixton.SR1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.spring.platform</groupId>
<artifactId>platform-bom</artifactId>
<version>2.0.5.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
was determined 平台无法管理 spring 云的依赖项。这是将 spring 平台与 spring 云一起使用的推荐方式。