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 #2491Activitychanged the title [-]Depencency Errors While Using Maven shade jar[/-] [+]Dependency Errors While Using Maven shade jar[/+] on Nov 2, 2017added 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, 2017added 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, 2017garrettjonesgoogle commented on Dec 20, 2017 What is the reason you decided to file the issue against google-cloud-java? btilford commented on Dec 21, 2017 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
pongad commented on Jan 22, 2018 @garrettjonesgoogle Since we're already shading netty, is there anything stopping us from shading guava too? garrettjonesgoogle commented on Jan 22, 2018 gRPC is the layer shading netty, not google-cloud-java. We would need separate shading work to shade guava in google-cloud-java. yihanzhen commented on Jan 30, 2018 Move this issue to feature backlog and close it here. This place can continue to be used for discussion.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|