aws / aws/aws-encryption-sdk-java

Maven Compile Warning for SuppressFBWarnings

Offen
#1,786 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
240
Forks
125
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die Maven-Kompilierungswarnung nach der Einführung von aws-encryption-sdk-java zu reproduzieren, und untersuche anschließend, wie die com.google.code.findbugs-Abhängigkeit scoped ist. Vergleiche die Änderung auf compile scope mit der Dokumentation der Warnung und einem projektweiten Dependency-Workaround; abgeschlossen ist die Aufgabe, wenn die gewählte Behandlung implementiert und das Warnverhalten verifiziert wurde.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.