You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2013/04/12 21:00:33 UTC

[4/4] git commit: BIGTOP-760. Push artifacts from non-Maven projects into local Maven cache (Sean Mackrory via rvs)

BIGTOP-760. Push artifacts from non-Maven projects into local Maven cache (Sean Mackrory via rvs)


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/45ef3b43
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/45ef3b43
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/45ef3b43

Branch: refs/heads/master
Commit: 45ef3b43b423899bb5d60600b1b0207f7b5dc37a
Parents: af3accc
Author: Roman Shaposhnik <rv...@cloudera.com>
Authored: Fri Apr 12 11:59:25 2013 -0700
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Fri Apr 12 11:59:25 2013 -0700

----------------------------------------------------------------------
 bigtop-packages/src/common/hive/do-component-build |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/45ef3b43/bigtop-packages/src/common/hive/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hive/do-component-build b/bigtop-packages/src/common/hive/do-component-build
index d2ab813..1f8e419 100644
--- a/bigtop-packages/src/common/hive/do-component-build
+++ b/bigtop-packages/src/common/hive/do-component-build
@@ -40,3 +40,9 @@ __EOT__
 
 ant -f src/build.xml `bom2props | sed -e 's#^#-D#'` -Dhadoop.security.version.prefix=0.23 \
     -Dversion=$HIVE_VERSION -Dinclude.postgres=true very-clean package "$@"
+
+# Install Hive artifacts needed by other components into the local Maven cache
+mvn install:install-file -DgroupId=org.apache.hive -DartifactId=hive-builtins -Dversion=$HIVE_VERSION -Dpackaging=jar -Dfile=src/build/builtins/hive-builtins-$HIVE_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.hive -DartifactId=hive-cli -Dversion=$HIVE_VERSION -Dpackaging=jar -Dfile=src/build/cli/hive-cli-$HIVE_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.hive -DartifactId=hive-contrib -Dversion=$HIVE_VERSION -Dpackaging=jar -Dfile=src/build/contrib/hive-contrib-$HIVE_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.hive -DartifactId=hive-exec -Dversion=$HIVE_VERSION -Dpackaging=jar -Dfile=src/build/ql/hive-exec-$HIVE_VERSION.jar