You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ri...@apache.org on 2022/08/17 07:42:21 UTC
[phoenix-connectors] branch master updated: PHOENIX-6770 set Log4j dependencies to provided (#87)
This is an automated email from the ASF dual-hosted git repository.
richardantal 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 7e2c40f PHOENIX-6770 set Log4j dependencies to provided (#87)
7e2c40f is described below
commit 7e2c40f672d6ee5203dc48fc9adf95e66eea6938
Author: richardantal <60...@users.noreply.github.com>
AuthorDate: Wed Aug 17 09:42:17 2022 +0200
PHOENIX-6770 set Log4j dependencies to provided (#87)
---
phoenix-hive-base/phoenix4-hive-shaded/pom.xml | 6 ++++++
phoenix-hive-base/phoenix5-hive-shaded/pom.xml | 6 ++++++
phoenix-pig-base/phoenix4-pig-shaded/pom.xml | 11 +++++++++++
phoenix-pig-base/phoenix5-pig-shaded/pom.xml | 11 +++++++++++
phoenix-spark-base/phoenix4-spark-shaded/pom.xml | 6 ++++++
phoenix-spark-base/phoenix5-spark-shaded/pom.xml | 6 ++++++
phoenix5-spark3-shaded/pom.xml | 5 +++++
pom.xml | 5 +++++
8 files changed, 56 insertions(+)
diff --git a/phoenix-hive-base/phoenix4-hive-shaded/pom.xml b/phoenix-hive-base/phoenix4-hive-shaded/pom.xml
index b477449..1e301a5 100644
--- a/phoenix-hive-base/phoenix4-hive-shaded/pom.xml
+++ b/phoenix-hive-base/phoenix4-hive-shaded/pom.xml
@@ -103,6 +103,12 @@ adding the provided dependencies -->
<version>${zookeeper.version}</version>
<scope>provided</scope>
</dependency>
+ <!-- We want to take the implementation from Hive -->
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/phoenix-hive-base/phoenix5-hive-shaded/pom.xml b/phoenix-hive-base/phoenix5-hive-shaded/pom.xml
index 25996f7..67211e9 100644
--- a/phoenix-hive-base/phoenix5-hive-shaded/pom.xml
+++ b/phoenix-hive-base/phoenix5-hive-shaded/pom.xml
@@ -172,6 +172,12 @@
<version>${zookeeper.version}</version>
<scope>provided</scope>
</dependency>
+ <!-- We want to take the implementation from Hive -->
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/phoenix-pig-base/phoenix4-pig-shaded/pom.xml b/phoenix-pig-base/phoenix4-pig-shaded/pom.xml
index 4ab1ddb..c825c9f 100644
--- a/phoenix-pig-base/phoenix4-pig-shaded/pom.xml
+++ b/phoenix-pig-base/phoenix4-pig-shaded/pom.xml
@@ -68,5 +68,16 @@
<artifactId>phoenix-hbase-compat-${hbase.compat.version}</artifactId>
<scope>runtime</scope>
</dependency>
+ <!-- We want to take the implementation from Pig -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
diff --git a/phoenix-pig-base/phoenix5-pig-shaded/pom.xml b/phoenix-pig-base/phoenix5-pig-shaded/pom.xml
index 675ea27..19e6845 100644
--- a/phoenix-pig-base/phoenix5-pig-shaded/pom.xml
+++ b/phoenix-pig-base/phoenix5-pig-shaded/pom.xml
@@ -79,6 +79,17 @@
<artifactId>phoenix-hbase-compat-${hbase.compat.version}</artifactId>
<scope>runtime</scope>
</dependency>
+ <!-- We want to take the implementation from Pig -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
diff --git a/phoenix-spark-base/phoenix4-spark-shaded/pom.xml b/phoenix-spark-base/phoenix4-spark-shaded/pom.xml
index 0d8561a..3bae294 100644
--- a/phoenix-spark-base/phoenix4-spark-shaded/pom.xml
+++ b/phoenix-spark-base/phoenix4-spark-shaded/pom.xml
@@ -42,6 +42,12 @@
<artifactId>phoenix-hbase-compat-${hbase.compat.version}</artifactId>
<scope>runtime</scope>
</dependency>
+ <!-- We want to take the implementation from Spark -->
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/phoenix-spark-base/phoenix5-spark-shaded/pom.xml b/phoenix-spark-base/phoenix5-spark-shaded/pom.xml
index 1b6c49c..5beddc0 100644
--- a/phoenix-spark-base/phoenix5-spark-shaded/pom.xml
+++ b/phoenix-spark-base/phoenix5-spark-shaded/pom.xml
@@ -52,6 +52,12 @@
<artifactId>phoenix-hbase-compat-${hbase.compat.version}</artifactId>
<scope>runtime</scope>
</dependency>
+ <!-- We want to take the implementation from Spark -->
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/phoenix5-spark3-shaded/pom.xml b/phoenix5-spark3-shaded/pom.xml
index 012b1ef..5e881d6 100644
--- a/phoenix5-spark3-shaded/pom.xml
+++ b/phoenix5-spark3-shaded/pom.xml
@@ -121,6 +121,11 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
<!-- Mark HBase as provided, too -->
<dependency>
diff --git a/pom.xml b/pom.xml
index ab4e005..5da7f74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -883,6 +883,11 @@
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.pig</groupId>
<artifactId>pig</artifactId>