[ 
https://issues.apache.org/jira/browse/HIVE-7376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059916#comment-14059916
 ] 

Eugene Koifman commented on HIVE-7376:
--------------------------------------

my understanding is that by default uber jar will pull in whole-jar 
dependencies even if only some of the classes in the jar are needed.  this 
option makes it only include classes from any given jar that are necessary 
(transitively) by classes in module

> add minimizeJar to jdbc/pom.xml
> -------------------------------
>
>                 Key: HIVE-7376
>                 URL: https://issues.apache.org/jira/browse/HIVE-7376
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Eugene Koifman
>         Attachments: HIVE-7376.1.patch.txt
>
>
> adding {code}<minimizeJar>true</minimizeJar>{code} to maven-shade-plugin 
> reduces the uber jar (hive-jdbc-0.14.0-SNAPSHOT-standalone.jar) from 51MB to 
> 27MB.  Is there any reason not to add it?
> https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#minimizeJar



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to