This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 22596664c57 CAMEL-18750: camel-elastisearch-starter - Spring Boot
clash with json-api dependency
22596664c57 is described below
commit 22596664c57249694c12878bd830dca8fd181208
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Nov 24 07:52:59 2022 +0100
CAMEL-18750: camel-elastisearch-starter - Spring Boot clash with json-api
dependency
---
components-starter/camel-elasticsearch-starter/pom.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/components-starter/camel-elasticsearch-starter/pom.xml
b/components-starter/camel-elasticsearch-starter/pom.xml
index b3b44f02738..7365e87b2b4 100644
--- a/components-starter/camel-elasticsearch-starter/pom.xml
+++ b/components-starter/camel-elasticsearch-starter/pom.xml
@@ -35,6 +35,12 @@
<version>${spring-boot-version}</version>
</dependency>
<!-- in favor of elasticsearch version used from camel-->
+ <!-- must use json-api v2 -->
+ <dependency>
+ <groupId>jakarta.json</groupId>
+ <artifactId>jakarta.json-api</artifactId>
+ <version>2.0.2</version>
+ </dependency>
<dependency>
<groupId>co.elastic.clients</groupId>
<artifactId>elasticsearch-java</artifactId>