From ca25badcbec5ef2d3bae5308012f915c04889fc2 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 22 Oct 2019 13:42:35 -0400 Subject: [PATCH] Installing BOM before running Java test --- tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests.sh b/tests.sh index a5919c11ca..771575978c 100755 --- a/tests.sh +++ b/tests.sh @@ -213,6 +213,9 @@ build_java() { build_java_with_conformance_tests() { # Java build needs `protoc`. internal_build_cpp + # This local installation avoids the problem caused by a new version not yet in Maven Central + cd java/bom && $MVN install + cd ../.. cd java && $MVN test && $MVN install cd util && $MVN package assembly:single cd ../..