Skip to content

ci: skip javac during BOM-only local Maven installs - #15433

Draft
lqiu96 wants to merge 1 commit into
mainfrom
ci/skip-javac-bom-install
Draft

lqiu96 wants to merge 1 commit into
mainfrom
ci/skip-javac-bom-install

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 3, 2026

Copy link
Copy Markdown
Member

Skips Java compilation, resource copying, Javadoc/source packaging, protoc, exec, and shading during local Maven installs for BOM-only validation jobs that resolve POM metadata and artifact coordinates without reading .class bytecode:

  • .github/workflows/unmanaged_dependency_check.yaml (unmanaged_dependency_check)
  • .github/workflows/ci.yaml (gapic-libraries-bom)
  • .github/workflows/java-cloud-bom-ci.yaml (bom-content-test on non-Release-Please PRs; Release Please PRs keep full compilation because BomContentTest#testLibrariesBom scans compiled .class files via assertUniqueClasses())
  • java-spanner-jdbc/pom.xml: removes hardcoded <skip>false</skip> on generate_connection_properties_documentation so exec-maven-plugin defaults to false on normal builds while honoring -Dexec.skip=true

Pre-installs stub test-jar artifacts for google-cloud-core and google-cloud-spanner so reactor modules with <type>test-jar</type> dependencies resolve cleanly when -Dmaven.test.skip=true is set.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the <skip>false</skip> configuration from a plugin execution in java-spanner-jdbc/pom.xml. There are no review comments to evaluate, and I have no additional feedback to provide.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant