[ 
https://issues.apache.org/jira/browse/CAMEL-15428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224593#comment-17224593
 ] 

Hack Kampbjørn commented on CAMEL-15428:
----------------------------------------

The {{camel-spring-boot-bom}} in 3.4.4 still imports external libraries like 
{{scala-library}} via parent.

{code}
  <parent>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>tooling</artifactId>
    <version>3.4.4</version>
  </parent>
{code}
And {{org.apache.camel.springboot:tooling}} has another parent
{code}
    <parent>
        <groupId>org.apache.camel.springboot</groupId>
        <artifactId>spring-boot</artifactId>
        <version>3.4.4</version>
    </parent>
{code}
And {{org.apache.camel.springboot:spring-boot}} has dependency management 
including
{code}
            <dependency>
                <groupId>org.apache.camel</groupId>
                <artifactId>camel-parent</artifactId>
                <version>${camel-version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
{code}
And this {{org.apache.camel:camel-parent}} has many external dependencies like
{code}
      <dependency>
        <groupId>org.scala-lang</groupId>
        <artifactId>scala-library</artifactId>
        <version>${scala-version}</version>
      </dependency>
{code}


> Create a proper camel BOM (for camel-spring-boot)
> -------------------------------------------------
>
>                 Key: CAMEL-15428
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15428
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-spring-boot
>            Reporter: Marcin Grzejszczak
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.5.0, 3.4.4
>
>
> Hi!
>  
> In Spring Cloud Contract I wanted to reference camel project versions without 
> providing versions for each of them. So I referenced the `camel-dependencies` 
> project in the dependencies management section.
> The problem is that also includes all the non project related library 
> versions (e.g. had a conflict with jackson-databind, Camel downgraded my 
> library).
> It would be great to have a `camel-bom` module that would include only camel 
> related projects without any other dependencies. Then `camel-dependencies` 
> would import `camel-bom` and all the necessary dependencies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to