GeezerVison is showing github.com — libraries-bom-26.82.0 imports lots of deps unintentionally · Issue #13186 · googleapis/google-cloud-java
libraries-bom-26.82.0 imports lots of deps unintentionally #13186Labels priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DescriptionEnvironment details
None of the following matters.
- Specify the API at the beginning of the title. For example, "[vision]: ...").
General, Core, and Other are also allowed as types
- OS type and version:
- Java version:
- Version(s):
Any additional information below
As commented here, importing google-cloud-bigtable-deps-bom into gapic-libraries-bom seems to be the root cause, as the net effect shows: 146 new artifacts became BOM-managed (993 → 1139).
A bit more analysis shows the added new artifacts are:
Jackson (66) — entire com.fasterxml.jackson family: core, dataformat (avro, cbor, csv, ion, properties, protobuf, smile, toml, xml, yaml), datatype (18 variants), jakarta.rs (6), jaxrs (6), jr (6), module (16)
OpenTelemetry (20) — io.opentelemetry:opentelemetry-{api,common,context,sdk,sdk-common,sdk-trace,sdk-metrics,sdk-logs,sdk-extension-*,exporter-*,extension-*,opentracing-shim} + io.opentelemetry.semconv +
io.opentelemetry.contrib:opentelemetry-gcp-resources + io.opentelemetry.instrumentation:opentelemetry-grpc-1.6
OpenCensus (9) — io.opencensus:opencensus-{api,contrib-grpc-util,contrib-http-util,contrib-resource-util,contrib-zpages,exporter-stats-stackdriver,exporter-trace-stackdriver,impl,impl-core}
JUnit 5 (15) — org.junit.jupiter:* (5), org.junit.platform:* (9), org.junit.vintage:* (1)
Google Cloud OpenTelemetry (3) — com.google.cloud.opentelemetry:{detector-resources-support,exporter-metrics,shared-resourcemapping}
Google common libs (6) — com.google.code.findbugs:jsr305, com.google.errorprone:error_prone_annotations, com.google.flogger:{flogger-system-backend,google-extensions}, com.google.j2objc:j2objc-annotations, com.google.crypto.tink:tink
Apache (8) — org.apache.arrow:{arrow-memory-core,arrow-memory-netty,arrow-vector}, org.apache.httpcomponents:{httpclient,httpcore}, org.apache.httpcomponents.client5:httpclient5, org.apache.httpcomponents.core5:httpcore5,
commons-codec:commons-codec
Other (19) — io.perfmark:perfmark-api, javax.annotation:javax.annotation-api, org.checkerframework:checker-qual, org.codehaus.mojo:animal-sniffer-annotations, org.json:json, org.threeten:{threeten-extra,threetenbp}, dev.cel:cel,
io.opentelemetry:opentelemetry-semconv (old coordinates), plus the remaining OpenTelemetry exporter/sender variants
As another side effect, importing the google-cloud-bigtable-deps-bom seems to win over google-cloud-datastore-bom which comes later in the pom.xml file, which means the effective google-cloud-datastore-bom version is 2.41.0 instead of 3.0.0.
1. gapic-libraries-bom:1.86.1 imports google-cloud-bigtable-deps-bom:2.78.0
2. bigtable-deps-bom imports gapic-libraries-bom:1.86.0
3. gapic-libraries-bom:1.86.0 declares google-cloud-datastore-bom:2.41.0
4. Later in gapic-libraries-bom:1.86.1 itself, google-cloud-datastore-bom:3.0.0 is declared at line 551
Maven's first-declaration-wins means 2.41.0 from step 3 takes precedence over 3.0.0 from step 4. So the datastore 3.0.0 bump is effectively dead — a likely unintended consequence of the circular BOM import.
Reacted by Tiemen Schut and Nils Breunese Activityadded type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2Moderately-important priority. Fix may not be included in next release. on May 14, 2026added priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release. and removed priority: p2Moderately-important priority. Fix may not be included in next release. on May 14, 2026tschut commented on May 15, 2026 Just want to add another case; for us this breaks our build because gapic-libraries-bom:1.86.1 overrides the existing Jackson version in the application to an older version (2.18.3). jinseopkim0 commented on May 16, 2026
This should be resolved with the new BOM. Please let me know if there are any questions / concerns.
MetadataMetadatapriority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DevelopmentNo branches or pull requestsIssue actions
|