You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/03/08 11:08:27 UTC

[pulsar] branch master updated: fix elasticsearch in pom Consistent with other IOs (#3696)

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new adc4c1d  fix elasticsearch in pom Consistent with other IOs (#3696)
adc4c1d is described below

commit adc4c1da340fe1ac285b1c91a211f48b90b7031e
Author: wpl <12...@qq.com>
AuthorDate: Fri Mar 8 19:08:22 2019 +0800

    fix elasticsearch in pom Consistent with other IOs (#3696)
    
    ### Motivation
    
    fix elasticsearch in pom Consistent with other IOs
    
    ### Modifications
    
    pom.xml add elasticsearch.version propertie
---
 pom.xml                          | 6 ++++++
 pulsar-io/elastic-search/pom.xml | 2 --
 tests/integration/pom.xml        | 1 -
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 0aa7161..7f1ffb6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -180,6 +180,7 @@ flexible messaging model and an intuitive client API.</description>
     <jclouds.version>2.1.1</jclouds.version>
     <sqlite-jdbc.version>3.8.11.2</sqlite-jdbc.version>
     <mysql-jdbc.version>8.0.11</mysql-jdbc.version>
+    <elasticsearch.version>6.3.2</elasticsearch.version>
     <presto.version>0.206</presto.version>
     <flink.version>1.6.0</flink.version>
     <scala.binary.version>2.11</scala.binary.version>
@@ -978,6 +979,11 @@ flexible messaging model and an intuitive client API.</description>
         <artifactId>opencensus-contrib-grpc-metrics</artifactId>
         <version>${opencensus.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.elasticsearch.client</groupId>
+        <artifactId>elasticsearch-rest-high-level-client</artifactId>
+        <version>${elasticsearch.version}</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
diff --git a/pulsar-io/elastic-search/pom.xml b/pulsar-io/elastic-search/pom.xml
index e615257..7ef5209 100644
--- a/pulsar-io/elastic-search/pom.xml
+++ b/pulsar-io/elastic-search/pom.xml
@@ -56,13 +56,11 @@
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
-      <version>3.4</version>
     </dependency>
 
   	<dependency>
   		<groupId>org.elasticsearch.client</groupId>
   		<artifactId>elasticsearch-rest-high-level-client</artifactId>
-  		<version>6.3.2</version>
   	</dependency>
   	
   	<dependency>
diff --git a/tests/integration/pom.xml b/tests/integration/pom.xml
index 2fa2096..14a6352 100644
--- a/tests/integration/pom.xml
+++ b/tests/integration/pom.xml
@@ -129,7 +129,6 @@
     <dependency>
   	  <groupId>org.elasticsearch.client</groupId>
   	  <artifactId>elasticsearch-rest-high-level-client</artifactId>
-  	  <version>6.3.2</version>
   	</dependency>
 
   </dependencies>