You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2020/03/18 15:06:48 UTC
[phoenix-connectors] branch master updated: PHOENIX-5782 remove
slf4j-log4j12 from phoenix-hive jar
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-connectors.git
The following commit(s) were added to refs/heads/master by this push:
new ce22b5f PHOENIX-5782 remove slf4j-log4j12 from phoenix-hive jar
ce22b5f is described below
commit ce22b5fd49fd874bb007f8b3f9343da66dd3ab1c
Author: Istvan Toth <st...@apache.org>
AuthorDate: Wed Mar 18 15:50:52 2020 +0100
PHOENIX-5782 remove slf4j-log4j12 from phoenix-hive jar
also remove redundant exclusions for slf4j-api and log4j
Closes #17
---
phoenix-hive/pom.xml | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/phoenix-hive/pom.xml b/phoenix-hive/pom.xml
index 8a95b44..7faca32 100644
--- a/phoenix-hive/pom.xml
+++ b/phoenix-hive/pom.xml
@@ -36,16 +36,6 @@
<dependency>
<groupId>org.apache.phoenix</groupId>
<artifactId>phoenix-core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
@@ -67,13 +57,19 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
+ <version>${slf4j.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
+ <version>${log4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>