This is an automated email from the ASF dual-hosted git repository.
ffang 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 6137d5c [CAMEL-17545]camel elasticsearch rest on spring boot - class
not found error
6137d5c is described below
commit 6137d5c5cd99d81591972e567195620d75154301
Author: Freeman Fang <[email protected]>
AuthorDate: Wed Jan 26 09:46:30 2022 -0500
[CAMEL-17545]camel elasticsearch rest on spring boot - class not found error
---
.../camel-elasticsearch-rest-starter/pom.xml | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/components-starter/camel-elasticsearch-rest-starter/pom.xml
b/components-starter/camel-elasticsearch-rest-starter/pom.xml
index 32ee45f..874d8ef 100644
--- a/components-starter/camel-elasticsearch-rest-starter/pom.xml
+++ b/components-starter/camel-elasticsearch-rest-starter/pom.xml
@@ -28,12 +28,38 @@
<packaging>jar</packaging>
<name>Camel SB Starters :: ElasticSearch :: REST</name>
<description>Spring-Boot Starter for Camel ElasticSearch REST
support</description>
+
+
+
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>${spring-boot-version}</version>
</dependency>
+
+ <!-- in favor of elasticsearch version used from camel-->
+ <dependency>
+ <groupId>org.elasticsearch.client</groupId>
+ <artifactId>elasticsearch-rest-high-level-client</artifactId>
+ <version>${elasticsearch-rest-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch.client</groupId>
+ <artifactId>elasticsearch-rest-client-sniffer</artifactId>
+ <version>${elasticsearch-rest-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch</groupId>
+ <artifactId>elasticsearch</artifactId>
+ <version>${elasticsearch-rest-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch.client</groupId>
+ <artifactId>elasticsearch-rest-client</artifactId>
+ <version>${elasticsearch-rest-version}</version>
+ </dependency>
+
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-elasticsearch-rest</artifactId>