You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2023/05/09 10:56:07 UTC

[inlong] 02/03: [INLONG-7983][Sort] Remove the duplicate dependency (#7984)

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

dockerzhang pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/inlong.git

commit a10ac7ab175d2d809860a1c1d227b67ea6eb69d6
Author: haifxu <xh...@gmail.com>
AuthorDate: Tue May 9 18:53:57 2023 +0800

    [INLONG-7983][Sort] Remove the duplicate dependency (#7984)
---
 .../sort-connectors/elasticsearch-base/pom.xml       | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/inlong-sort/sort-connectors/elasticsearch-base/pom.xml b/inlong-sort/sort-connectors/elasticsearch-base/pom.xml
index 0faededfd..a30ac80ca 100644
--- a/inlong-sort/sort-connectors/elasticsearch-base/pom.xml
+++ b/inlong-sort/sort-connectors/elasticsearch-base/pom.xml
@@ -35,6 +35,13 @@
             <version>${project.version}</version>
         </dependency>
 
+        <!-- Elasticsearch table sink factory testing -->
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-json</artifactId>
+            <version>${flink.version}</version>
+        </dependency>
+
         <dependency>
             <groupId>org.apache.flink</groupId>
             <artifactId>flink-streaming-java_2.12</artifactId>
@@ -108,14 +115,6 @@
             <version>${project.version}</version>
         </dependency>
 
-        <!-- Elasticsearch table sink factory testing -->
-        <dependency>
-            <groupId>org.apache.flink</groupId>
-            <artifactId>flink-json</artifactId>
-            <version>${flink.version}</version>
-            <scope>test</scope>
-        </dependency>
-
         <!--
             Including Log4j2 dependencies for tests is required for the
             embedded Elasticsearch nodes used in tests to run correctly.
@@ -131,11 +130,6 @@
             <artifactId>log4j-core</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.flink</groupId>
-            <artifactId>flink-json</artifactId>
-            <scope>provided</scope>
-        </dependency>
     </dependencies>
 
     <build>