You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ev...@apache.org on 2015/05/20 05:18:19 UTC

bigtop git commit: BIGTOP-1875. Oozie build failed due to Codehaus repository is out of service

Repository: bigtop
Updated Branches:
  refs/heads/master 86f8929f0 -> d39068630


BIGTOP-1875. Oozie build failed due to Codehaus repository is out of service


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

Branch: refs/heads/master
Commit: d390686305c10783cb8576b2fb82b229716abb9a
Parents: 86f8929
Author: Evans Ye <ev...@apache.org>
Authored: Tue May 19 17:13:39 2015 +0000
Committer: Evans Ye <ev...@apache.org>
Committed: Wed May 20 03:16:42 2015 +0000

----------------------------------------------------------------------
 bigtop-packages/src/common/oozie/do-component-build | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/d3906863/bigtop-packages/src/common/oozie/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/oozie/do-component-build b/bigtop-packages/src/common/oozie/do-component-build
index f468928..13b9505 100755
--- a/bigtop-packages/src/common/oozie/do-component-build
+++ b/bigtop-packages/src/common/oozie/do-component-build
@@ -90,6 +90,12 @@ for pom in $POM_FILES; do
   fi
 done
 
+# Disable Codehaus repository since it's out of service
+sed -i.bak "/http:\/\/repository.codehaus.org/a\\
+            <releases>\\
+                <enabled>false</enabled>\\
+            </releases>" ${WORKDIR}/pom.xml
+
 export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"
 # Invoke Oozie build script
 ${WORKDIR}/bin/mkdistro.sh -DjavaVersion=${JDK_VERSION} -DskipTests -Dhadoop.version=${HADOOP_VERSION} -Dhadoop.auth.version=${HADOOP_VERSION} ${EXTRA_GOALS} -Dmaven.repo.local=${HOME}/.m2/repository "$@"