Update HTTP to HTTPS for Maven central URLs
Change-Id: I0e848c5e76c19836a2003770f4e3e15e48c14ae1
(cherry picked from commit 52d13f339c17e67922308c5806374a450854a3e6)
diff --git a/tools/build/build-offline-karaf b/tools/build/build-offline-karaf
index 128db1c..cdd245c 100755
--- a/tools/build/build-offline-karaf
+++ b/tools/build/build-offline-karaf
@@ -1,5 +1,5 @@
#!/bin/bash
-
+
KARAF_RELEASE_VERSION="4.2.6"
KARAF_BASE_PACKAGE_VERSION="4.2.6"
KARAF_TARFILE_NAME="apache-karaf-${KARAF_RELEASE_VERSION}.tar"
@@ -7,7 +7,7 @@
# fetch the standard karaf bits
rm -f /tmp/${KARAF_TARFILE_NAME}
-curl -o /tmp/${KARAF_TARFILE_NAME}.gz http://repo1.maven.org/maven2/org/onosproject/apache-karaf-offline/${KARAF_BASE_PACKAGE_VERSION}/apache-karaf-${KARAF_BASE_PACKAGE_VERSION}.tar.gz
+curl -o /tmp/${KARAF_TARFILE_NAME}.gz https://repo1.maven.org/maven2/org/onosproject/apache-karaf-offline/${KARAF_BASE_PACKAGE_VERSION}/apache-karaf-${KARAF_BASE_PACKAGE_VERSION}.tar.gz
# get a small cell
source ${ONOS_ROOT}/tools/dev/bash_profile
diff --git a/tools/package/etc/org.ops4j.pax.url.mvn.cfg b/tools/package/etc/org.ops4j.pax.url.mvn.cfg
index 15167a3..dca7904 100644
--- a/tools/package/etc/org.ops4j.pax.url.mvn.cfg
+++ b/tools/package/etc/org.ops4j.pax.url.mvn.cfg
@@ -92,7 +92,7 @@
#
org.ops4j.pax.url.mvn.repositories= \
${org.ops4j.pax.url.mvn.defaultRepositories}, \
- http://repo1.maven.org/maven2@id=central, \
+ https://repo1.maven.org/maven2@id=central, \
http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, \
http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, \
http://zodiac.springsource.com/maven/bundles/release@id=gemini, \