[ http://jira.codehaus.org/browse/MOJO-511?page=comments#action_79473 ] 
            
Benoit Xhenseval commented on MOJO-511:
---------------------------------------

Hi Garvin

I have tried the plugin and I believe that the XML generated is not well-formed.

<?xml version="1.0" encoding="UTF-8"?>
<version>1.1.1</version>
<threshold>Low</threshold>
<effort>Default</effort>
<BugCollection>
...
</BugCollection>

This XML does not seem to have a root node. For bacwkard compatibility with the 
XML generated by Maven1 and Findbugs itself, I would suggest to put the 3 items 
as attribute on the BugCollection:

<BugCollection version="1.1.1" threshold="low" effort="default">
...
</BugCollection>

I hope this helps
Best regards

Benoit

> Add a support to generate an XML output report
> ----------------------------------------------
>
>                 Key: MOJO-511
>                 URL: http://jira.codehaus.org/browse/MOJO-511
>             Project: Mojo
>          Issue Type: New Feature
>          Components: findbugs
>            Reporter: Christophe DENEUX
>
> To use the maven-qalab-plugin with maven-findbugs-plugin, a XML report is 
> needed. I think a such report exists in the Maven1 version of the findbugs 
> plugin.
> Can you add a XML report generation that will be used as input for 
> maven-qalab-plugin.
> Thanks.
> Christophe

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