You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2013/04/18 01:34:51 UTC
[2/3] git commit: BIGTOP-929. Pig component build needs to use
internal resolvers
BIGTOP-929. Pig component build needs to use internal resolvers
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/b60fbb4f
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/b60fbb4f
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/b60fbb4f
Branch: refs/heads/master
Commit: b60fbb4f601e294d2992f187b06748d44b121f7a
Parents: c3741c4
Author: Konstantin Boudnik <co...@apache.org>
Authored: Tue Apr 16 22:30:38 2013 -0700
Committer: Konstantin Boudnik <co...@apache.org>
Committed: Tue Apr 16 22:30:38 2013 -0700
----------------------------------------------------------------------
bigtop-packages/src/common/pig/do-component-build | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/b60fbb4f/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 f19d38f..1ee7a8c 100644
--- a/bigtop-packages/src/common/pig/do-component-build
+++ b/bigtop-packages/src/common/pig/do-component-build
@@ -39,6 +39,8 @@ BUILD_OPTS="-Djavac.version=1.6 -Dforrest.home=${FORREST_HOME} -Dversion=${PIG_V
export LC_ALL=en_US.UTF-8
rm test/org/apache/pig/test/TestHBaseStorage.java
+sed -i.orig -e 's#</modules>#<module organisation="org.apache.hadoop" name=".*" resolver="internal"/>\n</modules>#' ivy/ivysettings.xml
+
ant $BUILD_OPTS clean jar jar-withouthadoop pigunit-jar smoketests-jar "$@"
for build_file in contrib/piggybank/java/build.xml contrib/zebra/build.xml ; do
ant $BUILD_OPTS -buildfile $build_file clean jar "$@"