aws / aws/aws-encryption-sdk-java

Maven Compile Warning for SuppressFBWarnings

Open
#1,786 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
240
Forks
125
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Maven compile warning after introducing aws-encryption-sdk-java, then inspect how the com.google.code.findbugs dependency is scoped. Compare changing it to compile scope with documenting the warning and project-level dependency workaround; done means the chosen handling is implemented and the warning behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.