aws / aws/aws-encryption-sdk-java

Maven Compile Warning for SuppressFBWarnings

未关闭
#1,786 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
240
派生
125
PR 合并指标
30 天内没有已合并 PR

描述

### Problem:

Introducing the dependency on `aws-encryption-sdk-java` introduces compile warnings about `edu.umd.cs.findbugs.annotations.SuppressFBWarnings`

For example:
```
Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found
```

### Solution:

Options:
* Change the scope of the `com.google.code.findbugs` to compile.
* Document the potential warnings and suggest fixes like declaring dependencies in your own project

### Out of scope:

I'm sure there are different options for handling this and they may vary depending on the build tool being used.

贡献指南

打开贡献指南

调研方向

首先在引入 aws-encryption-sdk-java 后复现 Maven 编译警告,然后检查 com.google.code.findbugs 依赖的 scope 是如何设置的。比较将其改为 compile scope 与记录该警告并采用项目级依赖 workaround 两种方式;完成的标准是选定的处理方式已实现,并且已验证警告行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
build-system
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。