Skip to content

Commit

Permalink
Update tests.sh to locally install all Java packages, not just util
Browse files Browse the repository at this point in the history
The JRuby test runs appear to be fetching the util package from Maven
Central because it is not being installed locally. This causes the tests
to fail when we upgrade to a new version that has not yet been published
to Maven Central. This commit fixes the problem by locally installing
all the protobuf packages, not just util.
  • Loading branch information
acozzette committed Mar 4, 2022
1 parent 88a18db commit 388df00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ internal_build_java() {
cp -r java $dir
cd $dir && $MVN clean
# Skip tests here - callers will decide what tests they want to run
$MVN install -pl core -Dmaven.test.skip=true
$MVN install -Dmaven.test.skip=true
}

build_java() {
Expand Down

0 comments on commit 388df00

Please sign in to comment.