<plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>3.1.11</version> <dependencies> <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> <dependency> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs</artifactId> <version>3.1.12</version> </dependency> </dependencies> </plugin>
mvn spotbugs:spotbugs
this generates a file with a report:
target/spotbugsXml.xml
the report is hard to read honestly, but there are many interesting remarks
No comments:
Post a Comment