[ 
https://issues.apache.org/jira/browse/STORM-926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Joseph Evans resolved STORM-926.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0

Thanks [~caofangkun],

I merged this into master.  Keep up the good work.

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

Reply via email to