[
https://issues.apache.org/jira/browse/HIVE-23613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Panagiotis Garefalakis updated HIVE-23613:
------------------------------------------
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:
{code}
mvn -DskipTests test-compile findbugs:findbugs -DskipTests=true
{code}
New way using spotbugs (where -pl use the module you want to check):
{code}
mvn -Pspotbugs
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugin.surefire.SurefirePlugin=INFO
-pl :hive-storage-api -am compile
com.github.spotbugs:spotbugs-maven-plugin:4.0.0:check
{code}
outputs
{code}
find . -name findbugsXml.xml
find . -name spotbugsXml.xml
{code}
was:
Let this Jira be an umbrella for an effort of cleaning up the enormous amount
of FindBugs warnings in Hive project.
{code}
mvn -DskipTests test-compile findbugs:findbugs -DskipTests=true
{code}
outputs
{code}
find . -name findbugsXml.xml
{code}
> Cleanup FindBugs
> ----------------
>
> Key: HIVE-23613
> URL: https://issues.apache.org/jira/browse/HIVE-23613
> Project: Hive
> Issue Type: Bug
> Reporter: László Bodor
> Priority: Major
> Fix For: 4.0.0
>
>
> 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:
> {code}
> mvn -DskipTests test-compile findbugs:findbugs -DskipTests=true
> {code}
> New way using spotbugs (where -pl use the module you want to check):
> {code}
> mvn -Pspotbugs
> -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugin.surefire.SurefirePlugin=INFO
> -pl :hive-storage-api -am compile
> com.github.spotbugs:spotbugs-maven-plugin:4.0.0:check
> {code}
> outputs
> {code}
> find . -name findbugsXml.xml
> find . -name spotbugsXml.xml
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)