Generated reports don't include testSourceRoots.
------------------------------------------------

                 Key: MFINDBUGS-150
                 URL: https://jira.codehaus.org/browse/MFINDBUGS-150
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
    Affects Versions: 2.3.2
         Environment: Debian Linux wheezy/sid, Maven 3.
            Reporter: Conrad Hughes
            Priority: Minor


The generated .xml report files only contain SrcDir entries for 
compileSourceRoots.  Even if you have <includeTests> set to true and test 
sources are found with bugs in them, the test source roots are not included, 
and the GUI is unable to locate test source files as a result.

I guess that in FindBugsMojo.groovy, when includeTests is true, the call to 
xDocsReporter.setCompileSourceRoots() should add them in, and you should 
iterate xmlProject.appendNode() over testSourceRoots too.

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