File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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 \
You can’t perform that action at this time.
0 commit comments