Explorar el Código

Merge pull request #5182 from BSBandme/test_benchmark

fix java build by changing mvn to online
Yilun Chong hace 7 años
padre
commit
f1bea7a40f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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