You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by George Stragand <ge...@gmail.com> on 2006/11/29 17:28:51 UTC

Findbugs source cross reference?

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

Re: Findbugs source cross reference?

Posted by George Stragand <ge...@gmail.com>.
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 <re...@gmail.com> 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 <ge...@gmail.com>:
> >
> > 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
> >
> >
>
>

Re: Findbugs source cross reference?

Posted by Rémy Sanlaville <re...@gmail.com>.
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 <ge...@gmail.com>:
>
> 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
>
>