FileNotFoundException for include/exclude filter via classpath in report
------------------------------------------------------------------------

                 Key: MFINDBUGS-83
                 URL: http://jira.codehaus.org/browse/MFINDBUGS-83
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
            Reporter: Jörg Hohwiller


If followed the instructions for multi-module-setup:
http://mojo.codehaus.org/findbugs-maven-plugin/2.0.1/examples/multi-module-config.html

This works for "mvn findbugs:findbgus" and makes the plugin to write the config 
from classpath to a tmp-file and call findbugs with this tmp-file:

[INFO]   Using bug exclude filter 
C:\WINDOWS\Profiles\hohwille\LOKALE~1\Temp\plexus-resources1225228075tmp
[INFO] Printing Errors
[INFO] Printing Missing classes
[INFO] Printing Source Roots
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL

However when I do "mvn site" instead on the same module it does NOT work:

[INFO]   Using bug exclude filter net/sf/mmm/findbugs-exclude.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] A java source file could not be added

Embedded error: net\sf\mmm\findbugs-exclude.xml (No such file or directory)


Seems in the latter case the classpath is given as file-argument to findbugs.

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