[ 
https://jira.codehaus.org/browse/MFINDBUGS-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Garvin LeClaire closed MFINDBUGS-166.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.1
    
> Add support for excluding Baseline Bugs
> ---------------------------------------
>
>                 Key: MFINDBUGS-166
>                 URL: https://jira.codehaus.org/browse/MFINDBUGS-166
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.4.1
>            Reporter: Alejandro Rivera
>            Assignee: Garvin LeClaire
>             Fix For: 2.4.1
>
>         Attachments: excludeBugsFile.patch
>
>
> Findbugs 2 has a feature that allows to specify a baseline bug report so only 
> NEW issues found are reported. 
> From edu.umd.cs.findbugs.FindBugs2.java:
> {code}
> ...
>     protected void configureFilters(UserPreferences userPreferences) {
>         Set<Entry<String, Boolean>> excludeBugFiles = 
> userPreferences.getExcludeBugsFiles().entrySet();
>         for (Entry<String, Boolean> entry : excludeBugFiles) {
>             if (entry.getValue() == null || !entry.getValue()) {
>                 continue;
>             }
>             try {
>                 excludeBaselineBugs(entry.getKey());
>             } catch (Exception e) {
>                 String message = "Unable to read filter: " + entry.getKey() + 
> " : " + e.getMessage();
>                 if (getBugReporter() != null) {
>                     getBugReporter().logError(message, e);
>                 } else {
>                     throw new IllegalArgumentException(message, e);
>                 }
>             }
>         }
>         ...
> {code}
> After looking through the FindBugsMojo.groovy, I noticed there's no way to 
> pass a list of XML files when executing FindBugs.
> I'd love to see support for this Baseline feature added to this plugin. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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


Reply via email to