任何简单的方法来生成一个没有网站Maven的Findbug HTML报告:网站? [英] Any easy way to generate a Findbug HTML report from Maven without site:site?
问题描述
我正在尝试将FindBugs集成到maven项目中。有没有人有一个样本 pom.xml
在目标中生成一个简单的findbug HTML报告?是否可以生成此报告而无需运行 site:site
? Sonar 。它是一个开放源代码,独立的Web服务,可以提交您的代码,并且可以生成有关各种代码度量标准的精美HTML报告。它也保留了构建的历史。最重要的是,你不需要修改你的构建或者poms!
它也有一个maven的目标: 检查一下 - 您不会感到抱歉! I am trying to integrate FindBugs in a maven project. Does anyone have a sample 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: Check it out - you won't be sorry! 这篇关于任何简单的方法来生成一个没有网站Maven的Findbug HTML报告:网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! sonar:sonar
。 (之前为Hudson)有一个插件,因此如果您将其用于您的CI,则完全无痛。 / p>
pom.xml
generating a simple findbug HTML report in target? Is it possible to generate this report without having to run site:site
? sonar:sonar
. Jenkins (previously Hudson) has a plugin for it, so it's totally painless if you use that for your CI.