Skip to content

chore(java-cloud-bom): migrate java-cloud-bom into monorepo#13498

Merged
jinseopkim0 merged 14 commits into
mainfrom
migrate-java-cloud-bom
Jun 30, 2026
Merged

chore(java-cloud-bom): migrate java-cloud-bom into monorepo#13498
jinseopkim0 merged 14 commits into
mainfrom
migrate-java-cloud-bom

Conversation

@jinseopkim0

@jinseopkim0 jinseopkim0 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

b/477663818

This PR migrates the java-cloud-bom package (historically hosted in a separate split repository) directly into the google-cloud-java monorepo. This consolidation allows us to centrally validate, build, and publish the release BOMs (google-cloud-bom and libraries-bom) inline with the rest of the libraries.

  1. BOM Migration:
    • Consolidated all java-cloud-bom source modules, metadata, and tools (including dashboard, release-note-generation, and tests submodules) under /java-cloud-bom.
    • Centralized configuration POMs for google-cloud-bom and libraries-bom.
  2. CI/CD Workflows:
    • Added GitHub Actions configurations for validating the BOM on presubmits, verifying content assertions, and executing dependency convergence rules.

@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 integrates the java-cloud-bom module into the monorepo, introducing BOM configurations, validation tests, a dashboard generator, and release-note utilities. The code review identified several critical issues that need to be addressed: a missing comma in a Python list in updateREADMETable.py causing implicit string concatenation, multiple unclosed file streams in ArtifactMavenData.java and DashboardMain.java leading to resource leaks, a potential deadlock in ReleaseNoteGeneration.java when reading process streams, and missing explicit UTF-8 encoding specifications in both Java and Python file operations.

Comment thread java-cloud-bom/libraries-bom-table-generation/updateREADMETable.py Outdated
Comment thread java-cloud-bom/libraries-bom-table-generation/updateREADMETable.py Outdated
@jinseopkim0
jinseopkim0 force-pushed the migrate-java-cloud-bom branch 3 times, most recently from 6f9b129 to 209f419 Compare June 17, 2026 15:36
@jinseopkim0
jinseopkim0 marked this pull request as ready for review June 18, 2026 09:01
@jinseopkim0
jinseopkim0 requested review from a team as code owners June 18, 2026 09:01
@jinseopkim0
jinseopkim0 requested a review from blakeli0 June 18, 2026 09:01
Comment thread sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml Outdated
Comment thread .github/CODEOWNERS Outdated

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.

We need to generate release note similar to https://github.com/googleapis/java-cloud-bom/releases/tag/v26.83.0. Is there anyway we can test it before merging the PR? If not, can we test it with a pre-release right after merging the PR?

Separately, we need to think about the Github release strategies. I don't think the current release process can create a separate Github release for libraries-bom.

@jinseopkim0 jinseopkim0 Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the questions and feedback.

We need to generate release note similar to https://github.com/googleapis/java-cloud-bom/releases/tag/v26.83.0. Is there anyway we can test it before merging the PR? If not, can we test it with a pre-release right after merging the PR?

I'll test it with a pre-release right after merging the PR. Created b/526676540 to track this.

Separately, we need to think about the Github release strategies. I don't think the current release process can create a separate Github release for libraries-bom.

Agree. I'm thinking we could have an additional tag (e.g. libraries-bom/v26.84.0), then have GH workflow pick it up to publish the release notes. I've created b/526685922 to track this. I don't think this should be a blocker for this PR. I'll follow-up with a new PR.

@jinseopkim0
jinseopkim0 requested a review from blakeli0 June 22, 2026 21:16
Comment thread .github/workflows/ci.yaml Outdated
Comment thread .github/workflows/java-cloud-bom-ci.yaml
Comment thread .kokoro/presubmit/cloud-bom-integration.cfg
Comment thread sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml Outdated
@jinseopkim0
jinseopkim0 requested review from a team as code owners June 25, 2026 18:44
@jinseopkim0
jinseopkim0 force-pushed the migrate-java-cloud-bom branch 3 times, most recently from 2d76bff to d280a93 Compare June 28, 2026 01:56
@jinseopkim0
jinseopkim0 requested a review from a team as a code owner June 28, 2026 18:57
@jinseopkim0
jinseopkim0 force-pushed the migrate-java-cloud-bom branch from 0f05a1a to 7560c18 Compare June 28, 2026 23:07
@jinseopkim0
jinseopkim0 requested a review from blakeli0 June 29, 2026 00:14
Comment thread .github/CODEOWNERS Outdated
Comment thread generation/apply_versions.sh Outdated
Comment thread java-bigquery-jdbc/pom.xml Outdated
Comment thread java-spanner-jdbc/documentation/connection_properties.md
@jinseopkim0
jinseopkim0 force-pushed the migrate-java-cloud-bom branch from 7560c18 to d50467f Compare June 29, 2026 14:04
@jinseopkim0 jinseopkim0 added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. labels Jun 29, 2026
@yoshi-kokoro yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 29, 2026
@jinseopkim0
jinseopkim0 requested a review from blakeli0 June 29, 2026 18:30
@jinseopkim0
jinseopkim0 force-pushed the migrate-java-cloud-bom branch from b690396 to 24af15b Compare June 30, 2026 01:26
@sonarqubecloud

Copy link
Copy Markdown

@jinseopkim0 jinseopkim0 added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. labels Jun 30, 2026
@yoshi-kokoro yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 30, 2026
Comment thread java-bigquery-jdbc/pom.xml Outdated

@blakeli0 blakeli0 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.

Do you mind updating the PR description regarding the high level changes?

@jinseopkim0
jinseopkim0 force-pushed the migrate-java-cloud-bom branch from 23f8b72 to f51c202 Compare June 30, 2026 19:59
@jinseopkim0
jinseopkim0 enabled auto-merge (squash) June 30, 2026 20:50
@jinseopkim0
jinseopkim0 merged commit 1309124 into main Jun 30, 2026
218 of 219 checks passed
@jinseopkim0
jinseopkim0 deleted the migrate-java-cloud-bom branch June 30, 2026 20:52
zhumin8 added a commit to googleapis/librarian that referenced this pull request Jul 1, 2026
…bom when generating gapic-libraries-bom/pom.xml (#6601)

Exclude google-cloud-bom and libraries-bom when generating
gapic-libraries-bom/pom.xml. This is needed because
googleapis/google-cloud-java#13498 added new
modules, among them are these two BOMs.

Fixes #6600
For googleapis/google-cloud-java#13609
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.

3 participants