[
https://issues.apache.org/jira/browse/HBASE-5598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238820#comment-13238820
]
Uma Maheswara Rao G commented on HBASE-5598:
--------------------------------------------
Who ever wants to generate the findbugs html report locally, follow the below
steps.
1) add the below target in pom.xml. Already there is one transformationSet
available in pom.xml. just we can place this after that transformationSet.
<transformationSet>
<dir>${basedir}/target/</dir>
<includes>
<include>findbugsXml.xml</include>
</includes>
<stylesheet>E:/SoftWares/findbugs-1.3.9/findbugs-1.3.9/src/xsl/default.xsl</stylesheet>
<outputDir>${basedir}/target/</outputDir>
</transformationSet>
2) Make sure to update the above findbugs xsl path correctly referring to your
local path of findbugs.
3) run 'mvn findbugs:findbugs'
4) run 'mvn site'
now ${basedir}/target/findbugsXml.xml will be replaced with html report. rename
to ${basedir}/target/findbugsXml.html and open.
> Analyse and fix the findbugs reporting by QA and add invalid bugs into
> findbugs-excludeFilter file
> --------------------------------------------------------------------------------------------------
>
> Key: HBASE-5598
> URL: https://issues.apache.org/jira/browse/HBASE-5598
> Project: HBase
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.92.1, 0.94.0, 0.96.0
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Minor
>
> There are many findbugs errors reporting by HbaseQA. HBASE-5597 is going to
> up the OK count.
> This may lead to other issues when we re-factor the code, if we induce new
> valid ones and remove invalid bugs also can not be reported by QA.
> So, I would propose to add the exclude filter file for findbugs(for the
> invalid bugs). If we find any valid ones, we can fix under this JIRA.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira