瀏覽代碼

Installing BOM before running Java test

Tomo Suzuki 6 年之前
父節點
當前提交
ca25badcbe
共有 1 個文件被更改,包括 3 次插入0 次删除
  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 ../..