Explorar o código

Installing BOM before running Java test

Tomo Suzuki %!s(int64=6) %!d(string=hai) anos
pai
achega
ca25badcbe
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tests.sh

+ 3 - 0
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 ../..