From 2b7ee3873e9c83e7e8ce7d67f1c13e9068e87804 Mon Sep 17 00:00:00 2001 From: Yilun Chong Date: Sun, 23 Sep 2018 17:07:02 -0700 Subject: fix java build by changing mvn to online --- tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.sh b/tests.sh index 49534137..02b3d10f 100755 --- a/tests.sh +++ b/tests.sh @@ -128,7 +128,7 @@ use_java() { esac MAVEN_LOCAL_REPOSITORY=/var/maven_local_repository - MVN="$MVN -e -X --offline -Dmaven.repo.local=$MAVEN_LOCAL_REPOSITORY" + MVN="$MVN -e -X -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$MAVEN_LOCAL_REPOSITORY" which java java -version -- cgit v1.2.3