[ 
http://jira.codehaus.org/browse/MOJO-962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115976
 ] 

Arnout Engelen commented on MOJO-962:
-------------------------------------

Looking at the code, it seems findbugs:findbugs should actually generate the 
html, but doesn't.

I noticed getOuputDirectory in FindBugsMojo.groovy isn't returning a String as 
it claims: perhaps this should be something like:

  protected String getOutputDirectory()
  {
    File outputDirectoryFile = new File(outputDirectory)
    outputDirectoryFile.mkdirs()
    return outputDirectoryFile.getAbsolutePath()
  }

This doesn't explain why it works find for 'mvn site' though, and indeed 
doesn't make findbugs:findbugs generate findbugs.html.

> Docs: usage docs might mention findbugs:findbugs and site
> ---------------------------------------------------------
>
>                 Key: MOJO-962
>                 URL: http://jira.codehaus.org/browse/MOJO-962
>             Project: Mojo
>          Issue Type: Improvement
>          Components: findbugs
>            Reporter: Arnout Engelen
>
> It seems as if 'mvn findbugs:findbugs' only generates the xml, and to 
> generate the html you need to run the full 'mvn site' (?). 
> It might be a good idea to mention this in the usage documentation.

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

Reply via email to