This is an automated email from the ASF dual-hosted git repository.

junhe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a6a81a  BIGTOP-3312: Fix Ambari build failure as maven repo only 
accepts https now
5a6a81a is described below

commit 5a6a81aa4e541825e7fe61be9bebb8f32fbdb64b
Author: Jun He <[email protected]>
AuthorDate: Wed Feb 19 10:20:39 2020 +0800

    BIGTOP-3312: Fix Ambari build failure as maven repo only accepts https now
    
    Maven repo has been upgrade to accpet https access only.
    The URLs defined in ambari pom.xml need to be changed to https.
    
    Change-Id: I77ff02631800cd2ba7abfef071e903262039ee17
    Signed-off-by: Jun He <[email protected]>
---
 bigtop-packages/src/common/ambari/do-component-build | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bigtop-packages/src/common/ambari/do-component-build 
b/bigtop-packages/src/common/ambari/do-component-build
index 59a1634..9c6ca9d 100644
--- a/bigtop-packages/src/common/ambari/do-component-build
+++ b/bigtop-packages/src/common/ambari/do-component-build
@@ -18,6 +18,11 @@ set -ex
 . `dirname $0`/bigtop.bom
 
 export _JAVA_OPTIONS="-Xmx2048m -Djava.awt.headless=true"
+
+# these two repos haven updated to accpet https access only
+sed -i "s|http://download.java.net|https://download.java.net|g" pom.xml
+sed -i "s|http://repo.spring.io|https://repo.spring.io|g" pom.xml
+
 mvn clean package -DskipTests -Drat.skip
 
 (cd contrib/management-packs/odpi-ambari-mpack ; mvn clean package -DskipTests 
-Drat.skip)

Reply via email to