[ 
https://jira.codehaus.org/browse/MFINDBUGS-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=293525#comment-293525
 ] 

Garvin LeClaire commented on MFINDBUGS-162:
-------------------------------------------

Looks like a spelling issues as all the unit tests pass.


        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <configuration>
                    <effort>Max</effort>
                    <threshold>High</threshold>
                    <excludeFilterFile>fdindbugs_exclude.xml</excludeFilterFile>
                    <includeFilterFile>findbugs_include.xml</includeFilterFile>
                    <failOnError>true</failOnError>
                </configuration>
                <executions>
                    <execution>
                        <id>static-analysis-findbugs</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>

                
> Generated FindBugs report does not pay attention to exclusion filter
> --------------------------------------------------------------------
>
>                 Key: MFINDBUGS-162
>                 URL: https://jira.codehaus.org/browse/MFINDBUGS-162
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>         Environment: Maven 2.2.1
>            Reporter: Oliver B. Fischer
>            Assignee: Garvin LeClaire
>
> The by the FindBugs plugin generated report does not pay attention to the 
> exclusion filter file specified in the POM.
> The situation is the following: If I specify an exclusion filter to exclude 
> an class, method or something similar, the check goal uses this exclusion 
> filter to skip error reports on the excluded artifacts. But the by the plugin 
> generated report does not pay attention to this exclusion filter.
> IMHO this is an error. If I exclude specific artifacts I don't want to see 
> them in the report.
> I created an example project to demonstrate this at github: 
> https://github.com/plexusnexus/MavenFindBugsReportDefectExample
> To reproduce this defect do the following:
> - {{git clone 
> [email protected]:plexusnexus/MavenFindBugsReportDefectExample.git}}
> - {{cd MavenFindBugsReportDefectExample/config}}
> - {{mvn install}}
> - {{cd ..\example}}
> - {{mvn install}}
> - {{mvn site}}
> - Open the generated FindBugs report

--
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