findbugs:check shouldn't have all the configuration parameters that aren't used
-------------------------------------------------------------------------------

                 Key: MFINDBUGS-148
                 URL: https://jira.codehaus.org/browse/MFINDBUGS-148
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
            Reporter: Kohsuke Kawaguchi


findbugs:check mojo has a lot of configuration options to contorl FindBugs 
execution behaviour, implying that it actually runs findbugs by using those 
parameters. But it actually doesn't run it at all, and instead it simply reads 
the report and makes the build fail.

I recommend removing unused options to avoid this confusion, and call out the 
fact that the user is responsible for running "mvn findbugs:findbugs" first. It 
is also highly advisible to make the build fail, if failOnError==true but no 
report is found, since it indicates that FindBugs haven't run at all.

--
This message is automatically generated by JIRA.
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