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/af3acccd Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/af3acccd Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/af3acccd Branch: refs/heads/master Commit: af3acccdefb1f00213acff8d9815115405069350 Parents: 64e357b Author: Roman Shaposhnik <[email protected]> Authored: Fri Apr 12 11:58:26 2013 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Fri Apr 12 11:58:26 2013 -0700 ---------------------------------------------------------------------- bigtop-packages/src/common/pig/do-component-build | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/af3acccd/bigtop-packages/src/common/pig/do-component-build ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/pig/do-component-build b/bigtop-packages/src/common/pig/do-component-build index a151190..f19d38f 100644 --- a/bigtop-packages/src/common/pig/do-component-build +++ b/bigtop-packages/src/common/pig/do-component-build @@ -44,3 +44,6 @@ for build_file in contrib/piggybank/java/build.xml contrib/zebra/build.xml ; do ant $BUILD_OPTS -buildfile $build_file clean jar "$@" done ant $BUILD_OPTS tar "$@" + +# install the Pig jar into the local Maven cache +mvn install:install-file -DgroupId=org.apache.pig -DartifactId=pig -Dversion=${PIG_VERSION} -Dpackaging=jar -Dfile=pig.jar
