[
http://jira.codehaus.org/browse/MFINDBUGS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Garvin LeClaire reassigned MFINDBUGS-114:
-----------------------------------------
Assignee: Garvin LeClaire
> Ability to collect a bug total (and issue build failure) from findbugs
> results in multi-module project
> ------------------------------------------------------------------------------------------------------
>
> Key: MFINDBUGS-114
> URL: http://jira.codehaus.org/browse/MFINDBUGS-114
> Project: Maven 2.x FindBugs Plugin
> Issue Type: Improvement
> Affects Versions: 2.3.2
> Reporter: Michael Yates
> Assignee: Garvin LeClaire
> Attachments: FindbugsViolationCheckMojo_summary.patch
>
>
> It would be useful for people who have existing code bases and a continuous
> build environment to have the ability to establish a "baseline" number of
> bugs. With the baseline established and configured any new bugs would cause a
> build failure.
> It is impractical in a large existing codebase to set up findbugs and fix all
> errors immediately - so the existing findbugs behavior of hard fail on first
> project with bugs is too harsh.
> A softer approach is to set up findbugs with a threshold configured at the
> current number of bugs. If findbugs fails when your total bugs exceeds this
> value then new/changed will be less likely to introduce new bugs. Further the
> "build master" can lower the threshold over time to improve the code in the
> existing base.
> I have included a patch to FindbugsViolationCheckMojo as a starting point to
> solve the above problem. Note I have no experience in Groovy and very little
> with authoring plugins. So the code is Java (complete with missing
> semicolons) probably some of the ways I have done things are against the
> normal way of doing things in plugins.
> Hopefully the patch can serve as starting point to solve the above problem.
> This type of issue seems to have some momentum in the wider community:
> http://stackoverflow.com/questions/3115022/maven-findbugs-high-water-mark
> http://stackoverflow.com/questions/1263409/maven-findbugscheck-output-summary-of-bugs
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email