<plugin><groupId>com.github.spotbugs</groupId><artifactId>spotbugs-maven-plugin</artifactId><version>3.1.8</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.9</version></dependency></dependencies></plugin>