Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Let this Jira be an umbrella for an effort of cleaning up the enormous amount of FindBugs warnings in Hive project.
Old way using findbugs:
mvn -DskipTests test-compile findbugs:findbugs -DskipTests=true
New way using spotbugs (where -pl use the module you want to check):
mvn -Pspotbugs -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugin.surefire.SurefirePlugin=INFO -pl :hive-storage-api -am test-compile com.github.spotbugs:spotbugs-maven-plugin:4.0.0:check
outputs
find . -name findbugsXml.xml find . -name spotbugsXml.xml