The javadoc option "-sourcetab" should be passed as "-linksourcetab"
--------------------------------------------------------------------

                 Key: MJAVADOC-94
                 URL: http://jira.codehaus.org/browse/MJAVADOC-94
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Dmitry Katsubo
            Priority: Trivial


I suppose, the following code
{code:title=AbstractJavadocMojo.java}
addArgIfNotEmpty( arguments, "-sourcetab", sourcetab, SINCE_JAVADOC_1_5 );
{code}
should be replaced with
{code:title=AbstractJavadocMojo.java}
addArgIfNotEmpty( arguments, "-linksourcetab", sourcetab, SINCE_JAVADOC_1_4_2 );
{code}
However, I do not see this option in output of {{mvn -X javadoc:javadoc}}.

Also, I think, that options {{-linksource}} and {{-linksourcetab}} should be 
added under equal conditions, but I am confused, that sources can be linked 
only in "online" mode -- just on the contary, sources are available offine. Or 
do I miss something here?

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

        

Reply via email to