Skip to content

Commit 475d399

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.kokoro/common.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ 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+
printf "with always_install_deps:\n%s\n" "$all_submodules,$always_install_deps"
342+
340343
# When working with a maven multi-module project containing other multi-module projects,
341344
# to build a module with its dependencies and without building its dependents:
342345
# Perform the install command on a grandchild module with the --also-make flag.
@@ -352,7 +355,7 @@ function install_modules() {
352355
#
353356
# mvn install --projects java-kms/google-cloud-kms --also-make
354357
# Correctly builds dependencies without building dependents.
355-
mvn install --projects "$all_submodules" --also-make \
358+
mvn install --projects "$all_submodules,$always_install_deps" --also-make \
356359
-B -ntp \
357360
-DtrimStackTrace=false \
358361
-Dclirr.skip=true \

0 commit comments

Comments
 (0)