You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2014/11/06 16:50:32 UTC

svn commit: r1637137 - /hive/trunk/jdbc/pom.xml

Author: hashutosh
Date: Thu Nov  6 15:50:31 2014
New Revision: 1637137

URL: http://svn.apache.org/r1637137
Log:
HIVE-8661 : JDBC MinimizeJAR should be configurable in pom.xml (Gopal V via Ashutosh Chauhan)

Modified:
    hive/trunk/jdbc/pom.xml

Modified: hive/trunk/jdbc/pom.xml
URL: http://svn.apache.org/viewvc/hive/trunk/jdbc/pom.xml?rev=1637137&r1=1637136&r2=1637137&view=diff
==============================================================================
--- hive/trunk/jdbc/pom.xml (original)
+++ hive/trunk/jdbc/pom.xml Thu Nov  6 15:50:31 2014
@@ -29,6 +29,7 @@
 
   <properties>
     <hive.path.to.root>..</hive.path.to.root>
+    <packaging.minimizeJar>false</packaging.minimizeJar>
   </properties>
 
   <dependencies>
@@ -127,6 +128,12 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <id>dist</id>
+      <properties>
+        <packaging.minimizeJar>true</packaging.minimizeJar>
+      </properties>
+    </profile>
   </profiles>
 
 
@@ -143,7 +150,7 @@
               <goal>shade</goal>
             </goals>
             <configuration>
-              <minimizeJar>true</minimizeJar>
+              <minimizeJar>${packaging.minimizeJar}</minimizeJar>
               <shadedArtifactAttached>true</shadedArtifactAttached>
               <shadedClassifierName>${hive.jdbc.driver.classifier}</shadedClassifierName>
               <filters>