googleapis / googleapis/google-cloud-java
[sdk-platform-java] Enforcer: Consider exclusions for annotation libraries
Open
priority: p3
type: feature request
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
Upgrading Guava version brings in a few new transitive dependencies (specifically errorprone_annotaitons and j2objc_annotations) that we usually have to bump as well.
Since these are annotation libraries and really are used during compile time, they should have no impact on customers during runtime.
Maven's limitation for `compile` scope means that these dependencies are still bundled in the `pom.xml`.
Consider adding exclusions for the compile-time only libraries as we don't need to enforce the upper bounds of these dep's versions.
Contributor guide
Assessment
This issue has not been assessed yet.