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.
@@ -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)
