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:15:30 UTC

[phoenix-tephra] branch release/0.16.0 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 release/0.16.0
in repository https://gitbox.apache.org/repos/asf/phoenix-tephra.git


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

commit 3d796798138f1b7505311750c418933524cfb141
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 33a1ae6..bce3921 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>