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

stoty pushed a commit to branch 5.2
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.2 by this push:
     new 81ea3420af PHOENIX-7130 Support skipping of shade sources jar creation 
(#1745)
81ea3420af is described below

commit 81ea3420aff386732965ff95e2f7626dae820e72
Author: Nihal Jain <nihj...@visa.com>
AuthorDate: Thu Feb 29 12:17:25 2024 +0530

    PHOENIX-7130 Support skipping of shade sources jar creation (#1745)
---
 phoenix-client-parent/phoenix-client-embedded/pom.xml | 2 +-
 phoenix-client-parent/phoenix-client-lite/pom.xml     | 2 +-
 phoenix-mapreduce-byo-shaded-hbase/pom.xml            | 2 +-
 phoenix-server/pom.xml                                | 2 +-
 pom.xml                                               | 1 +
 5 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/phoenix-client-parent/phoenix-client-embedded/pom.xml 
b/phoenix-client-parent/phoenix-client-embedded/pom.xml
index b65f0415a8..22c68f329b 100644
--- a/phoenix-client-parent/phoenix-client-embedded/pom.xml
+++ b/phoenix-client-parent/phoenix-client-embedded/pom.xml
@@ -45,7 +45,7 @@
             <configuration>
               
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
               <shadeTestJar>false</shadeTestJar>
-              <createSourcesJar>true</createSourcesJar>
+              <createSourcesJar>${shadeSources}</createSourcesJar>
               
<dependencyReducedPomLocation>${basedir}/target/pom.xml</dependencyReducedPomLocation>
               <artifactSet>
                 <includes>
diff --git a/phoenix-client-parent/phoenix-client-lite/pom.xml 
b/phoenix-client-parent/phoenix-client-lite/pom.xml
index 9d0e876ebc..f4ed210710 100644
--- a/phoenix-client-parent/phoenix-client-lite/pom.xml
+++ b/phoenix-client-parent/phoenix-client-lite/pom.xml
@@ -45,7 +45,7 @@
             <configuration>
               
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
               <shadeTestJar>false</shadeTestJar>
-              <createSourcesJar>true</createSourcesJar>
+              <createSourcesJar>${shadeSources}</createSourcesJar>
               
<dependencyReducedPomLocation>${basedir}/target/pom.xml</dependencyReducedPomLocation>
               <artifactSet>
                 <includes>
diff --git a/phoenix-mapreduce-byo-shaded-hbase/pom.xml 
b/phoenix-mapreduce-byo-shaded-hbase/pom.xml
index b561f1f108..cc7e364804 100644
--- a/phoenix-mapreduce-byo-shaded-hbase/pom.xml
+++ b/phoenix-mapreduce-byo-shaded-hbase/pom.xml
@@ -341,7 +341,7 @@
             <configuration>
               
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
               <shadeTestJar>false</shadeTestJar>
-              <createSourcesJar>true</createSourcesJar>
+              <createSourcesJar>${shadeSources}</createSourcesJar>
               
<dependencyReducedPomLocation>${basedir}/target/pom.xml</dependencyReducedPomLocation>
               <artifactSet>
                 <includes>
diff --git a/phoenix-server/pom.xml b/phoenix-server/pom.xml
index 217fc761e6..2fc1bf6413 100644
--- a/phoenix-server/pom.xml
+++ b/phoenix-server/pom.xml
@@ -308,7 +308,7 @@
             <configuration>
               
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
               <shadeTestJar>false</shadeTestJar>
-              <createSourcesJar>true</createSourcesJar>
+              <createSourcesJar>${shadeSources}</createSourcesJar>
               
<dependencyReducedPomLocation>${basedir}/target/pom.xml</dependencyReducedPomLocation>
               <artifactSet>
                 <includes>
diff --git a/pom.xml b/pom.xml
index 7f3538d49b..16ebf387a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,7 @@
     <test.output.tofile>true</test.output.tofile>
     <top.dir>${project.basedir}/..</top.dir>
     <test.tmp.dir>${project.build.directory}</test.tmp.dir>
+    <shadeSources>true</shadeSources>
 
     <!-- Dependency versions -->
     <jackson-bom.version>2.14.1</jackson-bom.version>

Reply via email to