Commit 2b7ee387 authored by Yilun Chong's avatar Yilun Chong

fix java build by changing mvn to online

parent a6e1cc7e
...@@ -128,7 +128,7 @@ use_java() { ...@@ -128,7 +128,7 @@ use_java() {
esac esac
MAVEN_LOCAL_REPOSITORY=/var/maven_local_repository 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 which java
java -version java -version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment