Put Maven in batch mode to avoid spamming the logs.
This commit is contained in:
parent
483533d3a2
commit
d08c39c218
@ -102,19 +102,22 @@ use_java() {
|
|||||||
java -version
|
java -version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# --batch-mode supresses download progress output that spams the logs.
|
||||||
|
MVN=mvn --batch-mode
|
||||||
|
|
||||||
build_java() {
|
build_java() {
|
||||||
# Java build needs `protoc`.
|
# Java build needs `protoc`.
|
||||||
internal_build_cpp
|
internal_build_cpp
|
||||||
cd java && mvn test && mvn install
|
cd java && $MVN test && $MVN install
|
||||||
cd util && mvn test
|
cd util && $MVN test
|
||||||
cd ../..
|
cd ../..
|
||||||
}
|
}
|
||||||
|
|
||||||
build_java_with_conformance_tests() {
|
build_java_with_conformance_tests() {
|
||||||
# Java build needs `protoc`.
|
# Java build needs `protoc`.
|
||||||
internal_build_cpp
|
internal_build_cpp
|
||||||
cd java && mvn test && mvn install
|
cd java && $MVN test && $MVN install
|
||||||
cd util && mvn test && mvn assembly:single
|
cd util && $MVN test && $MVN assembly:single
|
||||||
cd ../..
|
cd ../..
|
||||||
cd conformance && make test_java && cd ..
|
cd conformance && make test_java && cd ..
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user