aws / aws/aws-encryption-sdk-java

Maven Compile Warning for SuppressFBWarnings

オープン
#1,786 コメント 3 件 リアクション 0 件 担当者 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 に変更する方法と、警告およびプロジェクトレベルの依存関係の回避策を文書化する方法を比較します。選択した対応を実装し、警告の挙動を検証できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
build-system
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。