googleapis / googleapis/google-cloud-java
[sdk-platform-java] Enforcer: Consider exclusions for annotation libraries
未关闭
priority: p3
type: feature request
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 157
描述
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.
贡献指南
调研方向
首先定位 Maven Enforcer 配置以及 pom.xml 中相关的依赖规则,然后检查当前如何检查 Guava 的传递性注解库。完成的标准是:仅在编译时需要的注解依赖不再需要执行上限约束,同时 Maven 验证仍然通过。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- build-system
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100