Which one is the correct BOM version to use for Camel Spring Boot ?

Solution Verified - Updated -

Issue

When checking the Camel for Spring Boot documentation

There is a BOM for Camel Spring Boot specified as:

        <dependency>
            <groupId>org.apache.camel.springboot</groupId>
            <artifactId>camel-spring-boot-bom</artifactId>
            <version>3.20.1.redhat-00058</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency> 

But when generating the artifact with the Maven, as follows

$ mvn archetype:generate \
 -DarchetypeGroupId=org.apache.camel.archetypes \
 -DarchetypeArtifactId=camel-archetype-spring-boot \
 -DarchetypeVersion=3.20.1.redhat-00058 \
 -DgroupId=com.redhat \
 -DartifactId=csb-app \
 -Dversion=1.0-SNAPSHOT \
 -DinteractiveMode=false

the generated project has this BOM, with a different <groupId>, specified on the pom.xml file:

      <dependency> 
        <groupId>com.redhat.camel.springboot.platform</groupId> 
        <artifactId>camel-spring-boot-bom</artifactId>
        <version>3.20.1.redhat-00058</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>

So, which BOM of the two should be used?

Environment

Camel for Spring Boot documentation

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content