Regession in 2.0-SNAPSHOT, When there are no class, findbugs crash
------------------------------------------------------------------
Key: MFINDBUGS-58
URL: http://jira.codehaus.org/browse/MFINDBUGS-58
Project: Maven 2.x FindBugs Plugin
Issue Type: Bug
Environment: Windows XP , Maven 2.08, findbugs findbugs-maven-plugin
2.0-SNAPSHOT
Reporter: Arnaud
Priority: Minor
<!-- findbugs -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
<configuration>
<xmlOutput>true</xmlOutput>
<threshold>Normal</threshold>
<effort>Default</effort>
</configuration>
</plugin>
When i run a "mvn site" on a project with 0 class ( juste some resources), the
repport crash like this :
[INFO] Generating "FindBugs Report" report.
[INFO] Using normal effort.
[INFO] Using normal threshold.
[INFO] Using FindBugs Version: 1.3.2
[INFO] Using normal threshold.
[INFO] Using normal threshold.
[INFO] Using the xdoc format
[INFO] Using normal effort.
[INFO] Using normal threshold.
[INFO] Using normal threshold.
[INFO] Debugging is Off
[INFO] No bug include filter.
[INFO] No bug exclude filter.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed executing FindBugs
Embedded error: No classes found to analyze in
*D:\myproject\target\classes
*D:\Documents and
Settings\xxx\.m2\repository\org\codehaus\xfire\xfire-generator\1.2.6\xfire-generator-1.2.6.jar
*D:\Documents and
Settings\xxx\.m2\repository\org\codehaus\xfire\xfire-jaxb2\1.2.6\xfire-jaxb2-1.2.6.jar
*D:\Documents and
Settings\xxx\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.0.1\jaxb-xjc-2.0.1.jar
*D:\Documents and
Settings\xxx\.m2\repository\com\sun\xml\bind\jaxb-impl\2.0.1\jaxb-impl-2.0.1.jar
*D:\Documents and
Settings\xxx\.m2\repository\javax\xml\jaxb-api\2.0\jaxb-api-2.0.jar
*D:\Documents and
Settings\xxx\.m2\repository\javax\xml\ws\jaxws-api\2.0\jaxws-api-2.0.jar
...
*D:\Documents and
Settings\A154577\.m2\repository\javax\xml\bind\jaxb-api\2.0\jaxb-api-2.0.jar
*D:\Documents and
Settings\A154577\.m2\repository\javax\xml\bind\jsr173_api\1.0\jsr173_api-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 58 seconds
[INFO] Finished at: Fri Apr 25 14:20:47 CEST 2008
[INFO] Final Memory: 48M/187M
[INFO] ------------------------------------------------------------------------
--
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