-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 3.4.2
-
Fix Version/s: None
-
Component/s: camel-spring-boot-starters
-
Labels:None
-
Estimated Complexity:Unknown
The camel-spring-boot-dependencies lists all the different camel spring boot starters and a bunch of other dependencies. Include Spring Framework. But it does not include spring-jcl.
When using it together with the actual spring-framework-bom like
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <properties> <camel.version>3.4.2</camel.version> <spring-framework.version>5.2.8.RELEASE</spring-framework.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-spring-boot-dependencies</artifactId> <version>${camel.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-framework-bom</artifactId> <version>${spring-framework.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> </project>
It results in different versions of Spring Framework:
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireSameVersions failed with message: Found entries with different versions Entries with version 5.2.7.RELEASE - org.springframework:spring-core:jar (dependency) Entries with version 5.2.8.RELEASE - org.springframework:spring-jcl:jar (dependency)
- relates to
-
CAMEL-15428 Create a proper camel BOM (for camel-spring-boot)
-
- Resolved
-