This is a plugin developed by the Codehaus mojo team[1], not by the Maven team. 

So their mailinglist[2] would be a better place to ask this question.
Executing Maven with an additional -X will give you debug-logs, which might 
show the problem.
The code you're hitting is [3]. Do you have .class files?

-Robert  

[1] http://mojo.codehaus.org/findbugs-maven-plugin/
[2] http://mojo.codehaus.org/findbugs-maven-plugin/mail-lists.html
[3] 
https://fisheye.codehaus.org/browse/mojo/tags/findbugs-maven-plugin-2.3.2/src/main/groovy/org/codehaus/mojo/findbugs/FindBugsMojo.groovy?r=13762#to450


> Date: Wed, 2 Nov 2011 15:37:42 +0530
> Subject: Unable to generate html report for maven-findbugs plugin
> From: [email protected]
> To: [email protected]
> 
> Hi,
> 
> I am trying to create a findbugs report using mvn site. I pasted my
> pom.xml entry at the bottom. When I try to execute mvn site, it is giving
> the following two lines and after completing the command execution, i am
> unable to see any report generated for findbugs.
> 
> [INFO] configuring report plugin
> org.codehaus.mojo:findbugs-maven-plugin:2.3.2
> [INFO] *canGenerate is false*
> 
> I guess issue is because of this canGenerate. how to make this value to
> true?
> 
> Can any one please help to generate the findbugs report. I am using Maven
> 3.0.3.
> 
> <project>
> .......
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <version>3.0-beta-2</version>
> <configuration>
> <reportPlugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>findbugs-maven-plugin</artifactId>
> <version>2.3.2</version>
> <configuration>
> <formats>
> <format>xml</format>
> <format>html</format>
> </formats>
> <canGenerate>true</canGenerate>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jxr-plugin</artifactId>
> <version>2.1</version>
> <configuration>
> <aggregate>true</aggregate>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-report-plugin</artifactId>
> <version>2.6</version>
> </plugin>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>cobertura-maven-plugin</artifactId>
> <version>2.4</version>
> <configuration>
> <formats>
> <format>xml</format>
> <format>html</format>
> </formats>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-checkstyle-plugin</artifactId>
> <version>2.6</version>
> </plugin>
> </reportPlugins>
> </configuration>
> </plugin>
> </plugins>
> </build>
> - - - - -
> </project>
> 
> 
> Thanks,
> Babji                                           
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to