瀏覽代碼

排除依赖包jna

AE86 1 年之前
父節點
當前提交
14bfb01b1a
共有 2 個文件被更改,包括 12 次插入0 次删除
  1. 6 0
      dbsyncer-connector/dbsyncer-connector-elasticsearch/pom.xml
  2. 6 0
      dbsyncer-storage/pom.xml

+ 6 - 0
dbsyncer-connector/dbsyncer-connector-elasticsearch/pom.xml

@@ -24,6 +24,12 @@
         <dependency>
             <groupId>org.elasticsearch.client</groupId>
             <artifactId>elasticsearch-rest-high-level-client</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.elasticsearch</groupId>
+                    <artifactId>jna</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <!-- postgresql -->

+ 6 - 0
dbsyncer-storage/pom.xml

@@ -34,6 +34,12 @@
         <dependency>
             <groupId>org.elasticsearch.client</groupId>
             <artifactId>elasticsearch-rest-high-level-client</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.elasticsearch</groupId>
+                    <artifactId>jna</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>