Remove duplicate SpotBugs defaults
-->
<spotbugs.omitVisitors>FindReturnRef</spotbugs.omitVisitors>
- <!-- Defines a SpotBugs threshold. Use "Low" to discover low-priority bugs.
- Hint: SpotBugs considers some real NPE risks in Jenkins as low-priority issues, it is recommended to enable it in plugins.
- -->
- <spotbugs.threshold>Medium</spotbugs.threshold>
- <!-- Defines a SpotBugs effort. Use "Max" to maximize the scan depth -->
- <spotbugs.effort>Default</spotbugs.effort>
-
<!-- Whether to skip tests during release phase (they are executed in the prepare phase). -->
<release.skipTests>true</release.skipTests>
<!-- By default we do not create *-tests.jar. Set to false to allow other plugins to depend on test utilities in yours, using <classifier>tests</classifier>. -->
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
- <configuration>
- <failOnError>${spotbugs.failOnError}</failOnError>
- </configuration>
<executions>
<execution>
<id>spotbugs</id>
<!-- Instead we configure this in a profile -->
<xmlOutput>true</xmlOutput>
<spotbugsXmlOutput>false</spotbugsXmlOutput>
- <effort>${spotbugs.effort}</effort>
- <threshold>${spotbugs.threshold}</threshold>
</configuration>
</execution>
</executions>
