[
https://jira.codehaus.org/browse/MFINDBUGS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Garvin LeClaire closed MFINDBUGS-148.
-------------------------------------
Resolution: Not A Bug
The findbugs:check executes findbugs:findbugs therefore it need to have these
options available to pass on to the module.
This mode is use extensively on the Glassfish project if you want to see a
working model.
> 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
> Assignee: Garvin LeClaire
>
> 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