Skip to content

Conversation

@nicklasl
Copy link
Member

@nicklasl nicklasl commented Jan 7, 2026

Summary

Relocate gRPC, protobuf, guava, and related dependencies to com.spotify.confidence.shaded.* to prevent BOM version conflicts when consumers use different versions of these libraries.

Depends on: #216

Changes

  • Add maven-shade-plugin configuration
  • Relocate packages: io.grpc, com.google.protobuf, com.google.common, etc.
  • Update ChannelFactory Javadoc to note shaded types

Test plan

  • Docker build passes
  • Verify shaded JAR contains relocated classes
  • Test with a consumer project that has conflicting gRPC versions

🤖 Generated with Claude Code

nicklasl and others added 2 commits January 7, 2026 16:47
- Add maven-dependency-plugin to detect unused/undeclared dependencies
- Remove unused: caffeine, metrics-core, grpc-services, java-jwt
- Change protobuf-java-util to test scope (only used in tests)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Relocate gRPC, protobuf, guava, and related dependencies to
com.spotify.confidence.shaded.* to prevent BOM version conflicts
when consumers use different versions of these libraries.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Base automatically changed from nicklasl/java-dependency-cleanup to main January 8, 2026 12:02
@nicklasl nicklasl marked this pull request as ready for review January 8, 2026 16:02
@andreas-karlsson andreas-karlsson merged commit 7abdec8 into main Jan 9, 2026
10 checks passed
@github-actions github-actions bot mentioned this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants