Use SpotBugs 3.1.2, and NP_NONNULL_PARAM_VIOLATION 08/70208/2
authorStephen Kitt <skitt@redhat.com>
Thu, 29 Mar 2018 14:48:03 +0000 (07:48 -0700)
committerStephen Kitt <skitt@redhat.com>
Fri, 30 Mar 2018 19:44:15 +0000 (12:44 -0700)
commitdd1a46272b305c853e16f29344115f51f4e90476
treec26566e3960d6097c1cd78dfcde569bf666dad63
parent66e09e9d456c8c1f6fb5ef715a4298d18703bf40
Use SpotBugs 3.1.2, and NP_NONNULL_PARAM_VIOLATION

This patch upgrades the SpotBugs plugin to 3.1.3 and the engine to
3.1.2. The changelog is
https://github.com/spotbugs/spotbugs/blob/3.1.2/CHANGELOG.md

SpotBugs 3.1.2 supports the nullable annotations in Checker Framework
(see
https://github.com/spotbugs/spotbugs/commit/dd436ff56abf0273a080ad228fcf5abd8ee3a097
for the patch), so we can re-enable NP_NONNULL_PARAM_VIOLATION when
using SpotBugs. This involves using a separate configuration, so this
patch splits everything out, including the report directory for
projects which run both FindBugs and SpotBugs.

Change-Id: I8cb110f12d79414d476b7a6c525412f3b7e2c188
Signed-off-by: Stephen Kitt <skitt@redhat.com>
odlparent/pom.xml
pom.xml
spotbugs/pom.xml [new file with mode: 0644]
spotbugs/src/main/resources/spotbugs-exclude.xml [new file with mode: 0644]