GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #13186

New issue
Copy link
New issue
Copy link
Closed
Closed
libraries-bom-26.82.0 imports lots of deps unintentionally#13186
Copy link
Assignees
jinseopkim0
Labels
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.

Description

@honnix
honnix
opened on May 14, 2026
Issue body actions

Environment details

None of the following matters.

  1. Specify the API at the beginning of the title. For example, "[vision]: ...").
    General, Core, and Other are also allowed as types
  2. OS type and version:
  3. Java version:
  4. 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

Activity

  1. blakeli0
    assigned
    jinseopkim0
    on May 14, 2026
  2. jinseopkim0
    added
    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, 2026
  3. blakeli0
    added
    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, 2026
  4. tschut commented on May 15, 2026

    @tschut
    tschut
    on May 15, 2026
    More actions

    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).

  5. jinseopkim0 commented on May 16, 2026

    @jinseopkim0
    jinseopkim0
    on May 16, 2026
    Contributor
    More actions
    • fix: remove google-cloud-bigtable-deps-bom from gapic-libraries-bom #13209 merged
    • https://github.com/googleapis/google-cloud-java/releases/tag/v1.86.2 with the above PR released
    • https://github.com/googleapis/java-cloud-bom/releases/tag/v26.83.0 with the above artifact released

    This should be resolved with the new BOM. Please let me know if there are any questions / concerns.

  6. jinseopkim0
    closed this as completedon May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jinseopkim0
    jinseopkim0

Labels

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.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.