Parcourir la source

fix java build by changing mvn to online

Yilun Chong il y a 7 ans
Parent
commit
2b7ee3873e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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