You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Okken (JIRA)" <ji...@codehaus.org> on 2015/02/20 23:34:18 UTC

[jira] (MJAVADOC-418) References from Test Javadoc to Main Javadoc Broken

    [ https://jira.codehaus.org/browse/MJAVADOC-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=363712#comment-363712 ] 

Brett Okken commented on MJAVADOC-418:
--------------------------------------

Does it work if you use the fully qualified class name in the link? I seem to recall seeing that behavior in previous versions.

> References from Test Javadoc to Main Javadoc Broken
> ---------------------------------------------------
>
>                 Key: MJAVADOC-418
>                 URL: https://jira.codehaus.org/browse/MJAVADOC-418
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10.1
>            Reporter: Shelley Baker
>         Attachments: MJAVADOC-418.zip
>
>
> Javadoc references from the test javadoc to the main source javadoc are no longer able to be found. This is a regression between 2.10 and 2.10.1.
> For example, the following {{@link}} worked in 2.10, but no longer works in 2.10.1:
> {code:java}
> package org.apache.maven.test;
> /**
>  * Foo.
>  */
> public class Foo {}
> {code}
> {code:java}
> package org.apache.maven.test;
> /**
>  * Tests {@link Foo}.
>  */
> public class FooTest {}
> {code}
> {noformat}
> [WARNING] /home/user/test-project/src/test/java/org/apache/maven/test/FooTest.java:6: warning - Tag @link: reference not found: Foo
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)