Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
209f419
chore(java-cloud-bom): migrate java-cloud-bom into monorepo
jinseopkim0 Jun 17, 2026
32ebef4
fix(bom): resolve dependency convergence and enforcer failures in jav…
jinseopkim0 Jun 17, 2026
593c82f
Merge branch 'main' into migrate-java-cloud-bom
jinseopkim0 Jun 17, 2026
ab42a76
fix(bom): import google-cloud-shared-dependencies in libraries-bom to…
jinseopkim0 Jun 17, 2026
fc29e2e
Merge branch 'main' into migrate-java-cloud-bom
jinseopkim0 Jun 17, 2026
ebc7412
fix(bom): skip enforcer plugin for java-cloud-bom helper and configur…
jinseopkim0 Jun 17, 2026
d6a298b
fix(bom): remove java-cloud-bom from split packages in ci.yaml to avo…
jinseopkim0 Jun 18, 2026
e3a44f0
Merge branch 'main' into migrate-java-cloud-bom
jinseopkim0 Jun 18, 2026
463cb07
chore(bom): remove individual codeowner from java-cloud-bom
jinseopkim0 Jun 22, 2026
10935ae
Merge branch 'main' into migrate-java-cloud-bom
jinseopkim0 Jun 22, 2026
df0ffdd
Merge branch 'main' into migrate-java-cloud-bom
jinseopkim0 Jun 22, 2026
c218809
fix unexpected token
jinseopkim0 Jun 22, 2026
5fecc74
deps: upgrade Arrow to 18.0.0 to resolve slf4j convergence conflict
jinseopkim0 Jun 25, 2026
cd6f628
Merge branch 'main' into migrate-java-cloud-bom
jinseopkim0 Jun 25, 2026
4ac9fc2
fix merge conflict
jinseopkim0 Jun 25, 2026
fb7af91
ci: trigger java-cloud-bom workflows on sdk-platform-java and google-…
jinseopkim0 Jun 25, 2026
612bf7f
deps: revert Arrow to 17.0.0 and pin slf4j-api locally in BigQuery mo…
jinseopkim0 Jun 25, 2026
6ca703d
deps: ignore slf4j-api in dependency analyze for BigQuery modules
jinseopkim0 Jun 25, 2026
a083d67
Merge remote-tracking branch 'origin/main' into migrate-java-cloud-bom
jinseopkim0 Jun 25, 2026
ee48df1
Merge branch 'main' into migrate-java-cloud-bom
jinseopkim0 Jun 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@
/java-bigtable/ @googleapis/bigtable-team @googleapis/cloud-sdk-java-team @googleapis/cloud-sdk-librarian-team
/java-firestore/ @googleapis/firestore-team @googleapis/cloud-sdk-java-team @googleapis/cloud-sdk-librarian-team
/librarian.yaml @googleapis/cloud-sdk-java-team @googleapis/cloud-sdk-librarian-team
<<<<<<< migrate-java-cloud-bom
/java-cloud-bom/ @googleapis/cloud-sdk-java-team
=======
/java-shared-config/ @googleapis/cloud-sdk-java-team @googleapis/cloud-sdk-librarian-team
>>>>>>> main
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
workflows:
- '.github/workflows/**'
src:
- '!(google-auth-library-java|grpc-gcp-java|java-bigquery|java-bigquery-jdbc|java-bigquerystorage|java-bigtable|java-datastore|java-firestore|java-logging|java-logging-logback|java-pubsub|java-shared-config|java-spanner|java-storage)/**/*.java'
- '!(google-auth-library-java|grpc-gcp-java|java-bigquery|java-bigquery-jdbc|java-bigquerystorage|java-bigtable|java-datastore|java-firestore|java-logging|java-logging-logback|java-pubsub|java-shared-config|java-spanner|java-storage)/**/pom.xml'
- '!(google-auth-library-java|grpc-gcp-java|java-bigquery|java-bigquery-jdbc|java-bigquerystorage|java-bigtable|java-cloud-bom|java-datastore|java-firestore|java-logging|java-logging-logback|java-pubsub|java-shared-config|java-spanner|java-storage)/**/*.java'
- '!(google-auth-library-java|grpc-gcp-java|java-bigquery|java-bigquery-jdbc|java-bigquerystorage|java-bigtable|java-cloud-bom|java-datastore|java-firestore|java-logging|java-logging-logback|java-pubsub|java-shared-config|java-spanner|java-storage)/**/pom.xml'
- 'pom.xml'
ci:
- '.github/workflows/ci.yaml'
Expand Down
85 changes: 85 additions & 0 deletions .github/workflows/java-cloud-bom-bom-content-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
on:
push:
branches:
- main
pull_request:
name: java-cloud-bom ci
env:
BUILD_SUBDIR: java-cloud-bom
jobs:
filter:
runs-on: ubuntu-latest
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
library:
- 'java-cloud-bom/**'
- 'sdk-platform-java/**'
- 'google-auth-library-java/**'
bom-content-test:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 11
cache: maven
- run: java -version
- name: Pre-install all BOM modules to populate local cache
run: |
for f in $(find . -mindepth 2 -name "pom.xml" | grep "\-bom/pom.xml" | grep -v "samples" | grep -v "/tests/" | grep -v "/resources/"); do
grep -q "<packaging>pom</packaging>" "$f" && echo "$f"
done | sed 's|^\./||' | sed 's|/pom.xml$||' | tr '\n' ',' | sed 's/,$//' > bom_projects.txt
mvn install -pl $(cat bom_projects.txt) -am -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V -q
rm bom_projects.txt
shell: bash
- name: Install BOMs
run: |
mvn -B -V -ntp install -f java-cloud-bom/pom.xml
- name: Ensure the members of the Libraries BOM exist in Maven Central
uses: ./java-cloud-bom/tests/validate-bom
with:
bom-path: java-cloud-bom/libraries-bom/pom.xml
- name: Ensure the BOM has valid content (at releases)
if: github.head_ref == 'release-please--branches--main'
run: |
mvn -B -V -ntp verify -Dtest="BomContentTest#testLibrariesBom"
working-directory: java-cloud-bom/tests

bom-assertion-test:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
name: BomContentAssertionsTest (Test for assertion logic in BomContentTest)
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 11
- run: java -version
- name: Pre-install all BOM modules to populate local cache
run: |
for f in $(find . -mindepth 2 -name "pom.xml" | grep "\-bom/pom.xml" | grep -v "samples" | grep -v "/tests/" | grep -v "/resources/"); do
grep -q "<packaging>pom</packaging>" "$f" && echo "$f"
done | sed 's|^\./||' | sed 's|/pom.xml$||' | tr '\n' ',' | sed 's/,$//' > bom_projects.txt
mvn install -pl $(cat bom_projects.txt) -am -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V -q
rm bom_projects.txt
shell: bash
- name: Install BOMs
run: |
mvn -B -V -ntp install -f java-cloud-bom/pom.xml
- run: |
mvn -B -V -ntp verify -Dtest="BomContentAssertionsTest"
working-directory: java-cloud-bom/tests

Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
on:
pull_request:
paths:
- 'release-note-generation/**'
name: java-cloud-bom release-note-generation-test
env:
BUILD_SUBDIR: java-cloud-bom
jobs:
filter:
runs-on: ubuntu-latest
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
library:
- 'java-cloud-bom/**'
test:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 11
cache: maven
- run: java -version
- name: Run test in release-note-generation
shell: bash
run: |
mvn -B -ntp verify -f java-cloud-bom/release-note-generation/pom.xml
working-directory: java-cloud-bom/release-note-generation
env:
GH_TOKEN: ${{ github.token }}

dry-run:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 11
cache: maven
- run: java -version
- name: Dry-run release-note-generation
shell: bash
run: |
mvn -B -ntp compile -f java-cloud-bom/release-note-generation/pom.xml
# This generates release_note.md file
mvn -B -ntp exec:java -f java-cloud-bom/release-note-generation/pom.xml \
-Dlibraries-bom.version="26.2.0" \
-Dgoogle-cloud-java.version="1.1.0"
working-directory: java-cloud-bom/release-note-generation
env:
GH_TOKEN: ${{ github.token }}
- name: Show generated release note
shell: bash
run: |
# This fails if the file does not exist
cat release_note.md
working-directory: java-cloud-bom/release-note-generation
64 changes: 64 additions & 0 deletions .github/workflows/java-cloud-bom-ci-validate-bom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Github action job to test core java library features on
# downstream client libraries before they are released.
on:
push:
branches:
- main
pull_request:
name: java-cloud-bom test for tests/validate-bom logic
env:
BUILD_SUBDIR: java-cloud-bom
jobs:
filter:
runs-on: ubuntu-latest
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
library:
- 'java-cloud-bom/**'
- 'sdk-platform-java/**'
- 'google-auth-library-java/**'
test-invalid-bom:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch the bad protobuf-bom version 3.22.1
shell: bash
# 3.22.1 had a issue in their pom.xml
# https://github.com/protocolbuffers/protobuf/issues/12170
run: |
mkdir -p bad-protobuf-bom
curl https://repo1.maven.org/maven2/com/google/protobuf/protobuf-bom/3.22.1/protobuf-bom-3.22.1.pom \
--output bad-protobuf-bom/pom.xml
- name: Check the bad BOM
uses: ./java-cloud-bom/tests/validate-bom
id: validate-bom
with:
bom-path: bad-protobuf-bom/pom.xml
continue-on-error: true
- name: Ensure the validate-bom invalidated the bad BOM
shell: bash
if: steps.validate-bom.outcome != 'failure'
run: |
echo "The validate-bom check should have invalidated the bad BOM"
exit 1
Loading
Loading