Skip to content

Commit f0062bc

Browse files
committed
always install shared-dependencies
1 parent 9450873 commit f0062bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.kokoro/common.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ function install_modules() {
337337
parse_all_submodules "$1"
338338
printf "Installing submodules:\n%s\n" "$all_submodules"
339339

340+
always_install_deps="sdk-platform-java/java-shared-dependencies,sdk-platform-java/java-shared-dependencies/first-party-dependencies,sdk-platform-java/java-shared-dependencies/third-party-dependencies"
341+
340342
# When working with a maven multi-module project containing other multi-module projects,
341343
# to build a module with its dependencies and without building its dependents:
342344
# Perform the install command on a grandchild module with the --also-make flag.
@@ -352,7 +354,7 @@ function install_modules() {
352354
#
353355
# mvn install --projects java-kms/google-cloud-kms --also-make
354356
# Correctly builds dependencies without building dependents.
355-
mvn install --projects "$all_submodules" --also-make \
357+
mvn install --projects "$all_submodules,$always_install_deps" --also-make \
356358
-B -ntp \
357359
-DtrimStackTrace=false \
358360
-Dclirr.skip=true \

0 commit comments

Comments
 (0)