Skip to content

Commit be65643

Browse files
committed
ci: add api-common-java to always_install_deps and remove isolated gax install
- sdk-platform-java/api-common-java was missing from always_install_deps_list in common.sh - Removed isolated gax-java sub-build which caused sibling SNAPSHOT lookup failures
1 parent 1f028c2 commit be65643

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.kokoro/common.sh

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ function install_modules() {
440440
'java-iam/proto-google-iam-v3'
441441
'java-iam/proto-google-iam-v3beta'
442442
'gapic-libraries-bom'
443+
'sdk-platform-java/api-common-java'
443444
'sdk-platform-java/java-shared-dependencies'
444445
'sdk-platform-java/java-shared-dependencies/first-party-dependencies'
445446
'sdk-platform-java/java-shared-dependencies/third-party-dependencies'
@@ -459,22 +460,6 @@ function install_modules() {
459460
)
460461
printf "with always_install_deps:\n%s\n" "$all_submodules,$always_install_deps"
461462

462-
# Pre-install core gax-java modules (including testlib classified JARs).
463-
# Maven's multi-threaded scheduler (-T) does not always recognize classifier dependencies
464-
# (such as <type>test-jar</type><classifier>testlib</classifier> required by gapic-generator-java)
465-
# as strict reactor ordering constraints across multi-module roots.
466-
# Pre-installing gax-java ensures testlib artifacts exist in ~/.m2 before parallel builds resolve dependencies.
467-
mvn install -f sdk-platform-java/gax-java/pom.xml \
468-
-B -ntp \
469-
-Pquick-build \
470-
-DtrimStackTrace=false \
471-
-Dorg.slf4j.simpleLogger.showDateTime=true \
472-
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
473-
-DskipTests=true \
474-
-Dmaven.javadoc.skip=true \
475-
-Dgcloud.download.skip=true \
476-
-T 1C
477-
478463
# When working with a maven multi-module project containing other multi-module projects,
479464
# to build a module with its dependencies and without building its dependents:
480465
# Perform the install command on a grandchild module with the --also-make flag.

0 commit comments

Comments
 (0)