caofangkun created STORM-926:
--------------------------------
Summary: change pom to use maven-shade-plugin:1.6 to minimize the
size of shade jar
Key: STORM-926
URL: https://issues.apache.org/jira/browse/STORM-926
Project: Apache Storm
Issue Type: Improvement
Reporter: caofangkun
Assignee: caofangkun
Priority: Minor
For example:
Before:
{code}
51M
/home/kuncao/workspace/storm/external/flux/flux-examples/target/flux-examples-0.11.0-SNAPSHOT.jar
{code}
After the patch :
{code}
diff --git a/external/flux/flux-examples/pom.xml
b/external/flux/flux-examples/pom.xml
index e3996e5..f102eaa 100644
--- a/external/flux/flux-examples/pom.xml
+++ b/external/flux/flux-examples/pom.xml
@@ -79,9 +79,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
- <version>1.4</version>
+ <version>1.6</version>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
+ <minimizeJar>true</minimizeJar>
</configuration>
<executions>
<execution>
{code}
The jar minimize to 12M
{code}
12M
/home/kuncao/workspace/storm/external/flux/flux-examples/target/flux-examples-0.11.0-SNAPSHOT.jar
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)