Any easy way to generate a Findbug HTML report from Maven without site:site?

后端 未结 2 1061
终归单人心
终归单人心 2021-01-02 03:14

I am trying to integrate FindBugs in a maven project. Does anyone have a sample pom.xml generating a simple findbug HTML report in target? Is it possible to gen

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-02 03:43

    Check out Sonar. It's an open-source, stand-alone, web service that you "submit" your code to and it produces beautiful HTML reports on all kinds of code metrics. It also keeps a history of builds. And best of all, you don't have to modify your builds or poms!

    There is a maven goal for it too: sonar:sonar. Jenkins (previously Hudson) has a plugin for it, so it's totally painless if you use that for your CI.

    Check it out - you won't be sorry!

提交回复
热议问题