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 — Dependency Errors While Using Maven shade jar · Issue #2491 · googleapis/google-cloud-java

Dependency Errors While Using Maven shade jar #2491

New issue
Copy link
New issue
Copy link
Closed
Closed
Dependency Errors While Using Maven shade jar#2491
Copy link
Assignees
garrettjonesgoogle
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@TheSkripterDK
TheSkripterDK
opened on Oct 7, 2017
Issue body actions

Okay so I use maven shade jar here is my pom.xml https://pastebin.com/6rASfHss

but I get these errors https://pastebin.com/xpTDApiL
I compile using clean package
have done a google search and it looks like it has something to do with guava

Activity

  1. garrettjonesgoogle
    closed this as completedon Nov 2, 2017
  2. garrettjonesgoogle
    reopened this on Nov 2, 2017
  3. garrettjonesgoogle
    changed the title [-]Depencency Errors While Using Maven shade jar[/-] [+]Dependency Errors While Using Maven shade jar[/+] on Nov 2, 2017
  4. anthmgoogle
    added
    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.
    on Nov 8, 2017
  5. anthmgoogle
    assigned
    anthmgoogle
    and
    garrettjonesgoogle
    and unassigned
    anthmgoogle
    on Nov 8, 2017
  6. garrettjonesgoogle
    added
    type: questionRequest for information or clarification. Not an issue.
    and removed
    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.
    on Dec 20, 2017
  7. garrettjonesgoogle commented on Dec 20, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Dec 20, 2017
    Contributor
    More actions

    What is the reason you decided to file the issue against google-cloud-java?

  8. btilford commented on Dec 21, 2017

    @btilford
    btilford
    on Dec 21, 2017
    More actions

    I believe it's the way google-cloud-java depends on guava. It makes it unusable with other libraries that depend on a different version of guava. (google libraries depend on it heavily for example). Lot's of APIs being added/removed things that are @Beta being used etc.

    Really the only way to fix it is repackaging google-cloud-java libs with a shaded guava yourself then pulling that in instead of the real libraries.

    An example of a bad mix of guava would be having a project that used

    • Google api client, GA for example
    • BigQuery client
    • Dataproc (Hadoop, Spark) with BigQuery connector
  9. pongad commented on Jan 22, 2018

    @pongad
    pongad
    on Jan 22, 2018
    Contributor
    More actions

    @garrettjonesgoogle Since we're already shading netty, is there anything stopping us from shading guava too?

  10. garrettjonesgoogle commented on Jan 22, 2018

    @garrettjonesgoogle
    garrettjonesgoogle
    on Jan 22, 2018
    Contributor
    More actions

    gRPC is the layer shading netty, not google-cloud-java. We would need separate shading work to shade guava in google-cloud-java.

  11. yihanzhen
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    type: questionRequest for information or clarification. Not an issue.
    on Jan 30, 2018
  12. yihanzhen commented on Jan 30, 2018

    @yihanzhen
    yihanzhen
    on Jan 30, 2018
    Contributor
    More actions

    Move this issue to feature backlog and close it here. This place can continue to be used for discussion.

  13. yihanzhen
    closed this as completedon Jan 30, 2018
  14. chingor13
    added 3 commits that reference this issue on Mar 24, 2026

    deps: update protobuf dependencies to v3.25.3 (#2491)

    e2235a8

    chore(main): release 2.39.0 (#2594)

    3ff4744

    chore: owlbot-java adding the Docker tag in images section (#1949) (#…

    81cd7ce
  15. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    65cca00

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    7b96b47
  16. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(main): release 2.52.1-SNAPSHOT (googleapis#2491)

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

Metadata

Metadata

Assignees

  • @garrettjonesgoogle
    garrettjonesgoogle

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

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.