Spring Boot 2.5.0 使用哪个版本的 Apache Camel SpringBoot Starter

问题描述 投票:0回答:0

来自 Maven Central:https://mvnrepository.com/artifact/org.apache.camel.springboot/camel-spring-boot-starter

这似乎是依赖关系:

org.apache.camel.springboot » camel-spring-boot-starter:3.11.0 依赖于 org.springframework.boot » spring-boot-starter 2.5.1

org.apache.camel.springboot » camel-spring-boot-starter » 3.10.0 依赖于 org.springframework.boot » spring-boot-starter 2.4.5

我们应该在运行 Spring Boot 2.5.0 的项目中使用哪个

较低的兼容还是较高的兼容。

我想我要问的是......如果 Camel Spring Boot Starter 想要(至少?)spring-boot-starter 2.4.5,那么 Spring Boot 2.5.0 是否可以,因为项目已经存在,还是会导入 Spring Boot 2.4.5?

我想了解依赖项是如何工作的。

更新:

我在一个运行 Spring Boot 2.5.0 的项目中尝试了 camel-spring-boot-starter:3.11.0。而spring-boot-starter 2.5.1在展开的依赖中也没有看到。 camel-spring-boot-starter:3.11.0 不需要/引入 spring-boot-starter 2.5.1 吗?

java spring-boot apache-camel build.gradle
© www.soinside.com 2019 - 2024. All rights reserved.