Skip to content

Commit

Permalink
Use spotbugs plugin 4.8.2.0
Browse files Browse the repository at this point in the history
Suppress the CT_CONSTRUCTUR_THROWS warning because it is not helpful in
a Jenkins context.

jenkinsci/plugin-pom#869 (comment)
gives more details.
  • Loading branch information
MarkEWaite committed Dec 21, 2023
1 parent 009c325 commit 3ba7d45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@
<!-- Do not run extra reporting for checkstyle or pmd -->
<!-- https://stackoverflow.com/questions/12038238/unable-to-locate-source-xref-to-link-to -->
<linkXRef>false</linkXRef>
<!-- TODO: Remove when plugin pom is using this version or newer -->
<!-- https://github.com/jenkinsci/plugin-pom/pull/869 -->
<spotbugs-maven-plugin.version>4.8.2.0</spotbugs-maven-plugin.version>
<spotbugs.effort>Max</spotbugs.effort>
<!-- TODO: Remove when plugin pom includes this omitVisitors -->
<!-- https://github.com/jenkinsci/plugin-pom/pull/869 -->
<spotbugs.omitVisitors>ConstructorThrow,FindReturnRef</spotbugs.omitVisitors>
<spotbugs.threshold>Low</spotbugs.threshold>
</properties>

Expand Down

0 comments on commit 3ba7d45

Please sign in to comment.