Updated SpotBugs 3.1.8 to 4.3.0 to allow building on JDK 17.

A generic exclusion has been added to allow the build to pass.
This commit is contained in:
aherbert 2021-10-13 14:09:08 +01:00
parent 84677cd0db
commit 83b0eba9db
2 changed files with 10 additions and 1 deletions

View File

@ -84,7 +84,7 @@
<commons.jxr.version>2.5</commons.jxr.version>
<!-- Override CP 47 -->
<commons.spotbugs.version>3.1.8</commons.spotbugs.version>
<commons.spotbugs.version>4.3.0</commons.spotbugs.version>
<commons.site.path>math</commons.site.path>
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-math</commons.scmPubUrl>

View File

@ -64,4 +64,13 @@
<BugPattern name="EI_EXPOSE_REP"/>
</Match>
<!-- Disable checks for exposure of internal references.
TODO: Revise this to use more targeted exclusions. -->
<Match>
<Or>
<BugPattern name="EI_EXPOSE_REP"/>
<BugPattern name="EI_EXPOSE_REP2"/>
</Or>
</Match>
</FindBugsFilter>