Updated Branches: refs/heads/master a6b3d046c -> 45ef3b43b
BIGTOP-760. Install DataFu artifacts needed by other components into local Maven cache Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/1826945f Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/1826945f Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/1826945f Branch: refs/heads/master Commit: 1826945f497deb7f98ddbc476eb00775ec7b352e Parents: a6b3d04 Author: Sean Mackrory <[email protected]> Authored: Tue Mar 26 11:49:55 2013 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Fri Apr 12 11:57:16 2013 -0700 ---------------------------------------------------------------------- .../src/common/datafu/do-component-build | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/1826945f/bigtop-packages/src/common/datafu/do-component-build ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/datafu/do-component-build b/bigtop-packages/src/common/datafu/do-component-build index 2959d1f..ffbf386 100644 --- a/bigtop-packages/src/common/datafu/do-component-build +++ b/bigtop-packages/src/common/datafu/do-component-build @@ -20,4 +20,8 @@ set -ex sed -i -e '/<dependency org="org.apache.pig"/s# rev=[^ >][^ >]*# rev="'$PIG_VERSION'"#' ivy.xml -ant jar "$@" +ant jar -Dversion=$DATAFU_VERSION "$@" + +# Install artifacts into the local Maven cache +mvn install:install-file -DgroupId=com.linkedin.datafu -DartifactId=datafu -Dversion=$DATAFU_VERSION -Dpackaging=jar -Dfile=dist/datafu-$DATAFU_VERSION.jar +
