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