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 a883279 PHOENIX-6490 Fix shaded phoenix hive connector jar name and
reduce the size
a883279 is described below
commit a8832798c185e9bc295be1a05bfde5ee10aecf92
Author: Richard Antal
AuthorDate: Tue Jun 8 12:50:12 2021 +0200
PHOENIX-6490 Fix shaded phoenix hive connector jar name and reduce the size
Change-Id: I59fc910134f9a6401036bdcf8345f79d5b68d9ec
---
phoenix-hive-base/phoenix4-hive-shaded/pom.xml | 56 ++
phoenix-hive-base/phoenix5-hive-shaded/pom.xml | 118 +
phoenix-hive-base/pom.xml | 2 +-
.../src/build/components/phoenix4-jars.xml | 2 +-
4 files changed, 176 insertions(+), 2 deletions(-)
diff --git a/phoenix-hive-base/phoenix4-hive-shaded/pom.xml
b/phoenix-hive-base/phoenix4-hive-shaded/pom.xml
index 31d24b4..08e95f7 100644
--- a/phoenix-hive-base/phoenix4-hive-shaded/pom.xml
+++ b/phoenix-hive-base/phoenix4-hive-shaded/pom.xml
@@ -48,6 +48,62 @@
phoenix-hbase-compat-${hbase.compat.version}
runtime
+
+
+ org.apache.hive
+ hive-cli
+ ${hive.version}
+ provided
+
+
+ org.apache.hive
+ hive-common
+ ${hive.version}
+ provided
+
+
+ org.apache.hive
+ hive-exec
+ ${hive.version}
+ provided
+
+
+
+ org.apache.hive
+ hive-serde
+ ${hive.version}
+ provided
+
+
+ org.apache.hive
+ hive-storage-api
+ ${hive-storage.version}
+ provided
+
+
+ org.apache.hive.shims
+ hive-shims-common
+ ${hive.version}
+ provided
+
+
+
+ org.apache.hive
+ hive-metastore
+ ${hive.version}
+ provided
+
+
+ org.apache.hbase
+ hbase-server
+
+
+ org.apache.zookeeper
+ zookeeper
+ ${zookeeper.version}
+ provided
+
diff --git a/phoenix-hive-base/phoenix5-hive-shaded/pom.xml
b/phoenix-hive-base/phoenix5-hive-shaded/pom.xml
index f649031..3f995b5 100644
--- a/phoenix-hive-base/phoenix5-hive-shaded/pom.xml
+++ b/phoenix-hive-base/phoenix5-hive-shaded/pom.xml
@@ -60,6 +60,124 @@
${zookeeper.version}
provided
+
+
+ org.apache.phoenix
+ phoenix-connectors-phoenix5-compat
+
+
+ org.apache.phoenix
+ phoenix-hbase-compat-${hbase.compat.version}
+ runtime
+ true
+
+
+
+ org.apache.hive
+ hive-cli
+ ${hive.version}
+ provided
+
+
+ org.apache.hive
+ hive-common
+ ${hive.version}
+ provided
+
+
+ org.apache.hive
+ hive-exec
+ ${hive.version}
+ provided
+
+
+
+ org.apache.hive
+ hive-serde
+ ${hive.version}
+
+
+
+ io.netty
+ *
+
+
+ provided
+
+
+ org.apache.hive
+ hive-storage-api
+ ${hive-storage.version}
+ provided
+
+
+ org.apache.hive.shims
+ hive-shims-common
+ ${hive.version}
+ provided
+
+
+
+ org.apache.hive
+ hive-standalone-metastore
+ ${hive.version}
+ provided
+
+
+ com.google.guava
+ guava
+
+
+
+
+ org.apache.hbase
+ hbase-mapreduce
+ provided
+
+
+ org.apache.hbase
+ hbase-zookeeper
+ provided
+
+
+ org.apache.hadoop
+ hadoop-mapreduce-client-core
+ provided
+
+
+ org.apache.hbase
+ hbase-protocol-shaded
+ provided
+
+
+ org.apache.hbase
+ hbase-endpoint
+ provided
+
+
+ org.apache.hadoop
+ hadoop-hdfs-client
+ provided
+
+
+ org.apache.logging.log4j
+ log4j-core
+ ${log4j2.version}
+ test
+
+
+ org.apache.hadoop
+ hadoop-minicluster
+ test
+
+
+ org.apache.zookeeper
+ zookeeper
+ ${zookeeper.version}
+ provided
+
diff --git a/phoenix-hive-base/pom.xml b/phoenix-hive-base/pom.xml
index f1652dd..5acb4f0 100644
--- a/phoenix-hive-base/pom.xml
+++ b/phoenix-hive-base/pom.xml
@@ -372,7 +372,7 @@
org.apache.maven.plugins
maven-shade-plugin
-true
+false
true
diff --git
a/phoenix4-connectors-assembly/src/build/components/phoenix4-jars.xml
b/phoenix4-connectors-assembly/src/build/components/phoenix4-jars.xml
index b29b380..7a8eb81 100644
--- a/phoenix4-connectors-assembly/src/build/components/phoenix4-jars.xml
+++ b/phoenix4-connectors-assembly/src/build/components/phoenix4-jars.xml
@@ -59,7