You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/05 03:20:27 UTC
[jira] [Updated] (STORM-926) change pom to use
maven-shade-plugin:2.2 and minimize the size of shade jar and fix
duplicated classes warnings of flue-examples
[ https://issues.apache.org/jira/browse/STORM-926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Kellogg updated STORM-926:
-------------------------------
Component/s: storm-core
> change pom to use maven-shade-plugin:2.2 and minimize the size of shade jar and fix duplicated classes warnings of flue-examples
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: STORM-926
> URL: https://issues.apache.org/jira/browse/STORM-926
> Project: Apache Storm
> Issue Type: Improvement
> Components: storm-core
> Reporter: caofangkun
> Assignee: caofangkun
> Priority: Minor
> Fix For: 0.11.0
>
>
> 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)