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/11/30 07:14:47 UTC

[phoenix-tephra] branch master updated: TEPHRA-315 tephra-example maven setup is broken (addendum: re-add explcit execution for maven-shade-plugin)

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-tephra.git


The following commit(s) were added to refs/heads/master by this push:
     new eafd5e6  TEPHRA-315 tephra-example maven setup is broken (addendum: re-add explcit execution for maven-shade-plugin)
eafd5e6 is described below

commit eafd5e6e37577bf56507ad2fc11b4cbb23bed0b4
Author: Istvan Toth <st...@apache.org>
AuthorDate: Mon Nov 30 08:10:16 2020 +0100

    TEPHRA-315 tephra-example maven setup is broken (addendum: re-add explcit execution for maven-shade-plugin)
---
 tephra-core-shaded/pom.xml | 36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)

diff --git a/tephra-core-shaded/pom.xml b/tephra-core-shaded/pom.xml
index 5475cce..473cde8 100644
--- a/tephra-core-shaded/pom.xml
+++ b/tephra-core-shaded/pom.xml
@@ -46,20 +46,20 @@
         <artifactId>maven-shade-plugin</artifactId>
         <configuration>
           <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
-            <dependencyReducedPomLocation>${basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
-            <createSourcesJar>true</createSourcesJar>
-            <artifactSet>
-              <includes>
-                <include>org.apache.tephra:tephra-core</include>
-                <include>org.apache.twill:twill-api</include>
-                <include>org.apache.twill:twill-common</include>
-                <include>org.apache.twill:twill-core</include>
-                <include>org.apache.twill:twill-discovery-api</include>
-                <include>org.apache.twill:twill-discovery-core</include>
-                <include>org.apache.twill:twill-zookeeper</include>
-                <include>com.google.guava:guava</include>
-              </includes>
-            </artifactSet>
+          <dependencyReducedPomLocation>${basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
+          <createSourcesJar>true</createSourcesJar>
+          <artifactSet>
+            <includes>
+              <include>org.apache.tephra:tephra-core</include>
+              <include>org.apache.twill:twill-api</include>
+              <include>org.apache.twill:twill-common</include>
+              <include>org.apache.twill:twill-core</include>
+              <include>org.apache.twill:twill-discovery-api</include>
+              <include>org.apache.twill:twill-discovery-core</include>
+              <include>org.apache.twill:twill-zookeeper</include>
+              <include>com.google.guava:guava</include>
+            </includes>
+          </artifactSet>
           <filters>
             <filter>
               <artifact>*:*</artifact>
@@ -89,6 +89,14 @@
             </transformer>
           </transformers>
         </configuration>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
   </build>