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