Author: daijy
Date: Thu Jul 17 01:18:33 2014
New Revision: 1611233

URL: http://svn.apache.org/r1611233
HIVE-7423: produce hive-exec-core.jar from ql module (Eugene Koifman via Daniel Dai)


Modified: hive/trunk/ql/pom.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/pom.xml?rev=1611233&r1=1611232&r2=1611233&view=diff
--- hive/trunk/ql/pom.xml (original)
+++ hive/trunk/ql/pom.xml Thu Jul 17 01:18:33 2014
@@ -494,6 +494,26 @@
+ <execution>
+ <!--this 'execution' will produce a hive-exec-$version-core.jar which has
+ all classes from ql module, i.e. the same contents as hive-exec-$version.jar would
+ have had if there was shade plugin below. The way shade was configured since 0.13, is
+ to override the default jar for ql module with the saded one but keep the same name.
+ In other words, ql modules producesd a single uber jar under the module's coordinates,
+ i.e. w/o a classifier. We also need a slim jar that only has classes from ql. This
+ jar will now be with a 'core' classifier to ensure that prior behavior is preserved.
+ It would have been better to have a slim jar called hive-exec-$version.jar and a fat
+ jar called hive-exec-$version-shaded.jar but doing this now will cause backwards compat.
+ issues-->
+ <id>core-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <classifier>core</classifier>
+ </configuration>
+ </execution>
@@ -507,6 +527,7 @@
+ <!--also see maven-jar-plugin execution.id=core-jar-->
                    <!-- order is meant to be the same as the ant build -->

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJul 17, '14 at 1:18a
activeJul 17, '14 at 1:18a

1 user in discussion

Daijy: 1 post



site design / logo © 2021 Grokbase