You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "caofangkun (JIRA)" <ji...@apache.org> on 2015/07/06 07:15:04 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 ]

caofangkun updated STORM-926:
-----------------------------
    Summary: change pom to use maven-shade-plugin:2.2 and minimize the size of shade jar and fix  duplicated classes warnings of flue-examples  (was: change pom to use maven-shade-plugin:2.2 and minimize the size of shade jar )

> 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
>            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)