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

Claus Ibsen commented on CAMEL-18750:
-------------------------------------

This is not possible due to SB 2.7.x is managing and overriding this json-api 
to be v1.

Camel end users that use camel-elasticsearch-starter must then put v2 as 
dependency in their own pom.xml to override this.
We cannot do this automatic from Camel Spring Boot.


> camel-elastisearch-starter - Spring Boot clash with json-api dependency
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-18750
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18750
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-elasticsearch, camel-spring-boot-starters
>    Affects Versions: 3.18.3, 3.19.0
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.18.4, 3.20.0
>
>
> SB manages a set of dependencies and bring in
> jakarta.json:jakarta.json-api:jar:1.1.6
> But ES requires v2 of this library, so we must force it to use that version



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to