任何简单的方法来生成一个没有网站Maven的Findbug HTML报告:网站? [英] Any easy way to generate a Findbug HTML report from Maven without site:site?

查看:135
本文介绍了任何简单的方法来生成一个没有网站Maven的Findbug HTML报告:网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将FindBugs集成到maven项目中。有没有人有一个样本 pom.xml 在目标中生成一个简单的findbug HTML报告?是否可以生成此报告而无需运行 site:site Sonar 。它是一个开放源代码,独立的Web服务,可以提交您的代码,并且可以生成有关各种代码度量标准的精美HTML报告。它也保留了构建的历史。最重要的是,你不需要修改你的构建或者poms!

它也有一个maven的目标: sonar:sonar (之前为Hudson)有一个插件,因此如果您将其用于您的CI,则完全无痛。 / p>

检查一下 - 您不会感到抱歉!


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 generate this report without having to run site:site?

解决方案

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!

这篇关于任何简单的方法来生成一个没有网站Maven的Findbug HTML报告:网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆