소스 검색

Merge pull request #6783 from suztomo/install_bom

Installing BOM before running Java test
Rafi Kamal 6 년 전
부모
커밋
3f4f315266
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 ../..