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

drazzib pushed a commit to branch GORA-675
in repository https://gitbox.apache.org/repos/asf/gora.git


The following commit(s) were added to refs/heads/GORA-675 by this push:
     new 51bec6b  Exclude "jdk.tools" as dependency (transitive dependency from 
hadoop-annotations)
51bec6b is described below

commit 51bec6b1e77f8568c17e1de32a2b357fa9cab900
Author: Damien Raude-Morvan <damien.raude-mor...@verteego.com>
AuthorDate: Tue Apr 20 14:32:20 2021 +0200

    Exclude "jdk.tools" as dependency (transitive dependency from 
hadoop-annotations)
---
 gora-hive/pom.xml | 24 ++++++------------------
 gora-jet/pom.xml  |  6 ++++++
 gora-solr/pom.xml |  4 ++++
 pom.xml           | 10 ++++++++++
 4 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/gora-hive/pom.xml b/gora-hive/pom.xml
index e1ae565..6485185 100644
--- a/gora-hive/pom.xml
+++ b/gora-hive/pom.xml
@@ -163,40 +163,28 @@
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-common</artifactId>
       <version>${hadoop-common.version}</version>
+      <exclusions>
+        <exclusion>
+          <groupId>jdk.tools</groupId>
+          <artifactId>jdk.tools</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
 
     <!-- Hive Dependencies -->
     <dependency>
       <groupId>org.apache.hive</groupId>
       <artifactId>hive-jdbc</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.apache.logging.log4j</groupId>
-          <artifactId>log4j-slf4j-impl</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
 
     <dependency>
       <groupId>org.apache.hive</groupId>
       <artifactId>hive-service</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.apache.logging.log4j</groupId>
-          <artifactId>log4j-slf4j-impl</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
 
     <dependency>
       <groupId>org.apache.hive</groupId>
       <artifactId>hive-exec</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.apache.logging.log4j</groupId>
-          <artifactId>log4j-slf4j-impl</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
 
     <dependency>
diff --git a/gora-jet/pom.xml b/gora-jet/pom.xml
index 36b1734..1a6fb56 100644
--- a/gora-jet/pom.xml
+++ b/gora-jet/pom.xml
@@ -112,6 +112,12 @@
             <artifactId>hadoop-common</artifactId>
             <version>2.5.2</version>
             <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>jdk.tools</groupId>
+                    <artifactId>jdk.tools</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>
diff --git a/gora-solr/pom.xml b/gora-solr/pom.xml
index eb75af7..b144a84 100644
--- a/gora-solr/pom.xml
+++ b/gora-solr/pom.xml
@@ -181,6 +181,10 @@
           <groupId>org.apache.logging.log4j</groupId>
           <artifactId>log4j-core</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>jdk.tools</groupId>
+          <artifactId>jdk.tools</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
diff --git a/pom.xml b/pom.xml
index c864136..8b497ca 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1820,6 +1820,12 @@
         <groupId>org.apache.hadoop</groupId>
         <artifactId>hadoop-minicluster</artifactId>
         <version>${hadoop-2.test.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>jdk.tools</groupId>
+            <artifactId>jdk.tools</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
 
       <dependency>
@@ -1898,6 +1904,10 @@
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-slf4j-impl</artifactId>
           </exclusion>
+          <exclusion>
+            <groupId>jdk.tools</groupId>
+            <artifactId>jdk.tools</artifactId>
+          </exclusion>
         </exclusions>
       </dependency>
 

Reply via email to