Skip to content

Commit 0a8ddef

Browse files
committed
Updated maven repo URLs in CI requirements bash script for Travis
1 parent 8b81c13 commit 0a8ddef

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

npm/ci-requirements.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ pushd ./codegens/java-okhttp &>/dev/null;
1414
sudo rm -rf /var/lib/apt/lists/*
1515
sudo apt-get update
1616
sudo apt-get install -y openjdk-8-jdk
17-
sudo wget http://central.maven.org/maven2/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.jar
18-
sudo wget http://central.maven.org/maven2/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar
17+
sudo wget https://repo1.maven.org/maven2/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.jar
18+
sudo wget https://repo1.maven.org/maven2/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar
1919
popd &>/dev/null;
2020

2121
echo "Installing dependencies required for tests in codegens/java-unirest"
2222
pushd ./codegens/java-unirest &>/dev/null;
23-
sudo wget http://central.maven.org/maven2/com/mashape/unirest/unirest-java/1.4.9/unirest-java-1.4.9.jar
24-
sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
25-
sudo wget http://central.maven.org/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
26-
sudo wget http://central.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
27-
sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar
28-
sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpasyncclient/4.1.1/httpasyncclient-4.1.1.jar
29-
sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpcore-nio/4.4.4/httpcore-nio-4.4.4.jar
30-
sudo wget http://central.maven.org/maven2/org/json/json/20160212/json-20160212.jar
31-
sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpmime/4.3.6/httpmime-4.3.6.jar
23+
sudo wget https://repo1.maven.org/maven2/com/mashape/unirest/unirest-java/1.4.9/unirest-java-1.4.9.jar
24+
sudo wget https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
25+
sudo wget https://repo1.maven.org/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
26+
sudo wget https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
27+
sudo wget https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar
28+
sudo wget https://repo1.maven.org/maven2/org/apache/httpcomponents/httpasyncclient/4.1.1/httpasyncclient-4.1.1.jar
29+
sudo wget https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore-nio/4.4.4/httpcore-nio-4.4.4.jar
30+
sudo wget https://repo1.maven.org/maven2/org/json/json/20160212/json-20160212.jar
31+
sudo wget https://repo1.maven.org/maven2/org/apache/httpcomponents/httpmime/4.3.6/httpmime-4.3.6.jar
3232
popd &>/dev/null;
3333

3434
echo "Installing dependencies required for tests in codegens/csharp-restsharp"

0 commit comments

Comments
 (0)