You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by dj...@apache.org on 2019/08/11 16:25:09 UTC

[gora] branch master updated: GORA-621: Remove log4j 2 transitive dependencies from solr core

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 60bcac3  GORA-621: Remove log4j 2 transitive dependencies from solr core
     new d9b4b8e  Merge pull request #184 from djkevincr/GORA-621
60bcac3 is described below

commit 60bcac3e346eee8ee1c7a7119c1b29f931603a55
Author: Kevin Ratnasekera <dj...@yahoo.com>
AuthorDate: Sun Aug 11 21:29:11 2019 +0530

    GORA-621: Remove log4j 2 transitive dependencies from solr core
---
 gora-solr/pom.xml     | 16 ++++++++++++++++
 gora-tutorial/pom.xml |  6 ------
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/gora-solr/pom.xml b/gora-solr/pom.xml
index 50a4ad7..952d701 100644
--- a/gora-solr/pom.xml
+++ b/gora-solr/pom.xml
@@ -172,6 +172,22 @@
           <groupId>org.eclipse.jetty.orbit</groupId>
           <artifactId>javax.servlet</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-slf4j-impl</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-1.2-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-core</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
diff --git a/gora-tutorial/pom.xml b/gora-tutorial/pom.xml
index 1d6f67d..0396ef9 100644
--- a/gora-tutorial/pom.xml
+++ b/gora-tutorial/pom.xml
@@ -127,12 +127,6 @@
     <dependency>
       <groupId>org.apache.gora</groupId>
       <artifactId>gora-solr</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.apache.logging.log4j</groupId>
-          <artifactId>log4j-slf4j-impl</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
 
     <dependency>