소스 검색

Merge pull request #5182 from BSBandme/test_benchmark

fix java build by changing mvn to online
Yilun Chong 7 년 전
부모
커밋
f1bea7a40f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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