Browse Source

fix java build by changing mvn to online

Yilun Chong 7 years ago
parent
commit
2b7ee3873e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests.sh

+ 1 - 1
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