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.git
The following commit(s) were added to refs/heads/master by this push:
new a90b87deec PHOENIX-7137 Create phoenix-client-lite shaded JAR without
server-side dependencies
a90b87deec is described below
commit a90b87deec6a70078f5fdc9b8c564913b170dfc3
Author: Istvan Toth
AuthorDate: Mon Dec 4 14:13:23 2023 +0100
PHOENIX-7137 Create phoenix-client-lite shaded JAR without server-side
dependencies
---
phoenix-assembly/pom.xml | 25
.../src/build/components/all-common-jars.xml | 8 ++
phoenix-client-parent/phoenix-client-lite/pom.xml | 135 +
pom.xml| 21
4 files changed, 189 insertions(+)
diff --git a/phoenix-assembly/pom.xml b/phoenix-assembly/pom.xml
index 52d337618f..7f929c118c 100644
--- a/phoenix-assembly/pom.xml
+++ b/phoenix-assembly/pom.xml
@@ -63,6 +63,27 @@
+
+lite client without version
+compile
+
+ exec
+
+
+ ln
+
${project.basedir}/../phoenix-client-parent/phoenix-client-lite/target
+
+-fnsv
+
+ phoenix-client-lite-${hbase.suffix}-${project.version}.jar
+
+
+
+ phoenix-client-lite-${hbase.suffix}.jar
+
+
+
+
server without version
compile
@@ -153,6 +174,10 @@
org.apache.phoenix
phoenix-client-embedded-${hbase.suffix}
+
+ org.apache.phoenix
+ phoenix-client-lite-${hbase.suffix}
+
org.apache.phoenix
phoenix-pherf
diff --git a/phoenix-assembly/src/build/components/all-common-jars.xml
b/phoenix-assembly/src/build/components/all-common-jars.xml
index 1a6abd3193..c51ff9c98e 100644
--- a/phoenix-assembly/src/build/components/all-common-jars.xml
+++ b/phoenix-assembly/src/build/components/all-common-jars.xml
@@ -31,6 +31,14 @@
phoenix-client-embedded-${hbase.suffix}.jar
+
+
${project.basedir}/../phoenix-client-parent/phoenix-client-lite/target
+ /
+
+
phoenix-client-lite-${hbase.suffix}-${project.version}.jar
+phoenix-client-lite-${hbase.suffix}.jar
+
+
${project.basedir}/../phoenix-server/target
/
diff --git a/phoenix-client-parent/phoenix-client-lite/pom.xml
b/phoenix-client-parent/phoenix-client-lite/pom.xml
new file mode 100644
index 00..8ca940eb37
--- /dev/null
+++ b/phoenix-client-parent/phoenix-client-lite/pom.xml
@@ -0,0 +1,135 @@
+
+
+http://maven.apache.org/POM/4.0.0";
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+ 4.0.0
+
+org.apache.phoenix
+phoenix-client-parent
+5.2.0-SNAPSHOT
+
+
+ phoenix-client-lite-${hbase.suffix}
+ Phoenix Client Lite
+ Phoenix Client without server-side code and
dependencies
+ jar
+
+
+
+
+org.apache.maven.plugins
+maven-shade-plugin
+
+
+lite-shaded
+package
+
+ shade
+
+
+
true
+ false
+ true
+
${basedir}/target/pom.xml
+
+
+ *:*
+
+
+ org.apache.phoenix:phoenix-client
+ xom:xom
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.apache.phoenix
+ phoenix-core-client
+
+
+ org.slf4j
+ slf4j-reload4j
+
+
+ ch.qos.reload4j
+ reload4j
+
+
+
+ org.slf4j
+ slf4j-log4j12
+
+
+ log4j
+ log4j
+
+
+
+
+ org.apache.phoenix
+ phoenix-hbase-compat-${hbase.compat.version}
+ false
+
+
+
+ org.eclipse.jetty
+ jetty-server
+ provided
+ ${jetty.version}
+
+
+ org.eclipse.jetty
+ jetty-util
+ provided
+ ${jetty.version}
+
+
+ org.eclipse.jetty
+ jetty-util-ajax
+ provided
+ ${jetty.version}
+
+
+ org.eclipse.jetty
+ jetty-servlet
+ provided
+ ${jetty.version}
+
+
+ org.eclipse.jetty
+ jetty-webapp
+ provided
+ ${jetty.version}
+
+
+ javax.servlet
+ javax.servlet-api
+ provided
+ ${javax.servlet-api.version}
+
+
+
diff --git a/p