[ http://jira.codehaus.org/browse/MOJO-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105086 ]
Ulli Hafner commented on MOJO-882: ---------------------------------- I would prefer having the option to additionally output the internal findbugs xml format (as suggested by Stephen). Currently I have to write two parsers AND two object models to read the findbugs reports for either maven or plain (ant) findbugs reports. Additionally, I would like to reuse the findbugs API to read the xml format and compute statistics for new and fixed bugs. This seems to be not possible with the format written by the maven plugin. > allow findbugs plugin to output XML format the same as findbugs xml format in > addidtion to the xdoc format. > ----------------------------------------------------------------------------------------------------------- > > Key: MOJO-882 > URL: http://jira.codehaus.org/browse/MOJO-882 > Project: Mojo > Issue Type: New Feature > Components: findbugs > Reporter: Stephen Connolly > Assignee: Garvin LeClaire > Priority: Minor > Attachments: mojo-882-b.patch, mojo-882.patch > > > The XML report generated by findbugs-maven-plugin is a completely different > schema from that generated by findbugs natively. > The files generated by the plugin have the same initial element (thus making > it difficult to differentiate between the two formats) but the schema layout > and elements are different. > This is because the findbugs-maven-plugin does not delegate to the findbugs > xml reporter, but instead generates the xml report internally. > Initial discussion: http://www.nabble.com/Findbugs-maven-plugin-tf4239159.html > If the internally generated format is used by other projects, either a config > option to enable the findbugs xml generator or the output of the maven > sourcepaths in the findbugs-maven-plugin xml report would be sufficient > patches for our needs. > The long term fix should be to output in the findbugs native format... thus > people would not have to write two sets of parsers (one for maven invoked > findbugs and the other for all other invokations of findbugs) > The advantage of the internally generated xml report is that it removes > dependency on the schema changes that the findbugs has been known to make. -- 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