[ 
http://jira.codehaus.org/browse/MFINDBUGS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179287#action_179287
 ] 

Garvin LeClaire commented on MFINDBUGS-80:
------------------------------------------

This implies you should be using version 2.1 of the jxr plugin.  You should set 
the version within you POM.  If this is a multi-module you can state the 
version requirement in the dependency management are of the parent POM.

It would look like the following:


  <dependencies>
   ...
    <dependency>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>2.0.1</version>
    </dependency>
   ...
  </dependencies>


> FindBugs - link to the source code line is missing
> --------------------------------------------------
>
>                 Key: MFINDBUGS-80
>                 URL: http://jira.codehaus.org/browse/MFINDBUGS-80
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: linux ubuntu
>            Reporter: Katarina Golbang
>            Assignee: Garvin LeClaire
>         Attachments: findbugs_missing_link.png
>
>
> FindBugs does not create a link to the source code line. Instead of a link 
> (xref) there is a plain html text (see screenshot).
> relevant pom.xml excerpts:
> {code:xml} 
> <reporting>
>       <plugins>
>               <plugin>
>                       <groupId>org.codehaus.mojo</groupId>
>                       <artifactId>jxr-maven-plugin</artifactId>
>               </plugin>
> <!-- more plugins -->
>               <plugin>
>                       <groupId>org.codehaus.mojo</groupId>
>                       <artifactId>findbugs-maven-plugin</artifactId>
>                       <version>2.0.1</version>
>                       <configuration>
>                               <findbugsXmlOutput>true</findbugsXmlOutput>
>                               
> <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
>                               <xmlOutput>true</xmlOutput>
>                               <!--
>                               <xrefLocation>target/site/xref</xrefLocation>
>                               
> <xmlOutputDirectory>target/site</xmlOutputDirectory>
>                               -->
>                       </configuration>                                
>               </plugin>
>       </plugins>
> </reporting>
> {code} 

-- 
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


Reply via email to