Sweet, I had a different version of findbugs. 1.0-SNAPSHOT works for what I
need right now. Thanks.
On 11/29/06, Rémy Sanlaville <[EMAIL PROTECTED]> wrote:
I also use Findbugs and PMD and both are hook up to the source cross
reference.
Here is my configuration:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<configuration>
<javadocDir>${project.build.directory
}/site/apidocs</javadocDir>
<outputDirectory>${project.build.directory
}/site</outputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetjdk>1.5</targetjdk>
<rulesets>
<ruleset>${basedir}/src/main/pmd/erreur.xml</ruleset>
<ruleset>${basedir}/src/main/pmd/pmd.xml</ruleset>
</rulesets>
<format>xml</format>
<linkXref>true</linkXref>
<sourceEncoding>iso-8859-1</sourceEncoding>
<minimumTokens>100</minimumTokens>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
</plugin>
</plugins>
</reporting>
HTH,
Rémy
2006/11/29, George Stragand <[EMAIL PROTECTED]>:
>
> How do I hook up Findbugs to the source cross reference? I am also
using
> PMD and it is linked to the source cross reference no problem.
> TIA
> --G
>
>