zhangyuanyou
Committed by Gerrit Code Review

Fix the disabled download url of karaf.

Change-Id: I4eec3ad4365ec2a67ee8301ae56b9469dfb7a5fe
...@@ -14,8 +14,9 @@ export JAVA_HOME=/usr/lib/jvm/java-8-oracle ...@@ -14,8 +14,9 @@ export JAVA_HOME=/usr/lib/jvm/java-8-oracle
14 14
15 cd; mkdir Downloads Applications 15 cd; mkdir Downloads Applications
16 cd Downloads 16 cd Downloads
17 -wget http://download.nextag.com/apache/karaf/3.0.5/apache-karaf-3.0.5.tar.gz 17 +KARAF_VERSION=${KARAF_VERSION:-3.0.5}
18 +wget https://downloads.onosproject.org/third-party/apache-karaf-$KARAF_VERSION.tar.gz
18 wget http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz 19 wget http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
19 -tar -zxvf apache-karaf-3.0.5.tar.gz -C ../Applications/ 20 +tar -zxvf apache-karaf-$KARAF_VERSION.tar.gz -C ../Applications/
20 tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/ 21 tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/
21 22
......