fix java build by changing mvn to online

pull/5182/head
Yilun Chong 6 years ago
parent a6e1cc7e32
commit 2b7ee3873e
  1. 2
      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

Loading…
Cancel
Save