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

jin pushed a commit to branch exclude-okhttp1
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git

commit ac0548f22cff9574ca550253dec442fd63663ed0
Author: imbajin <[email protected]>
AuthorDate: Tue Dec 12 21:36:12 2023 +0800

    fix: exclude okhttp1 which has different groupID with okhttp3
---
 hugegraph-loader/pom.xml | 6 ++++++
 hugegraph-tools/pom.xml  | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/hugegraph-loader/pom.xml b/hugegraph-loader/pom.xml
index e4565f0f..6a939355 100644
--- a/hugegraph-loader/pom.xml
+++ b/hugegraph-loader/pom.xml
@@ -365,6 +365,12 @@
             <groupId>org.apache.hadoop</groupId>
             <artifactId>hadoop-hdfs-client</artifactId>
             <version>${hadoop.version}</version>
+            <exclusions>
+                <exclusion>
+                    <artifactId>okhttp</artifactId>
+                    <groupId>com.squareup.okhttp</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <!-- TODO: slim hadoop depedenencies -->
         <dependency>
diff --git a/hugegraph-tools/pom.xml b/hugegraph-tools/pom.xml
index 8939e141..719ad393 100644
--- a/hugegraph-tools/pom.xml
+++ b/hugegraph-tools/pom.xml
@@ -161,6 +161,10 @@
                     <groupId>log4j</groupId>
                     <artifactId>log4j</artifactId>
                 </exclusion>
+                <exclusion>
+                    <artifactId>okhttp</artifactId>
+                    <groupId>com.squareup.okhttp</groupId>
+                </exclusion>
             </exclusions>
         </dependency>
         <dependency>

Reply via email to