You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marshall Schor (JIRA)" <ji...@codehaus.org> on 2010/11/01 17:44:03 UTC

[jira] Created: (MJAVADOC-301) DEFAULT_JAVA_API_LINKS values wrong

DEFAULT_JAVA_API_LINKS values wrong
-----------------------------------

                 Key: MJAVADOC-301
                 URL: http://jira.codehaus.org/browse/MJAVADOC-301
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Bug
            Reporter: Marshall Schor
            Priority: Minor


Since Oracle bought Sun, they have some kind of a redirect for the old java.sun.com/j2se api urls, but on a freshly booted machine, the redirects don't work reliably, it seems, generating messages from running the maven javadocs plugin such as:

[INFO] --- maven-javadoc-plugin:2.7:javadoc (javadocs-distr) @ uimaj-distr ---
[ERROR] Error fetching link: http://java.sun.com/j2se/1.5.0/docs/api/package-list. Ignored it.

Suggest updating the strings in /maven-javadoc-plugin-2.7/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java

    static
    {
        DEFAULT_JAVA_API_LINKS.put( "api_1.3", "http://java.sun.com/j2se/1.3/docs/api" );
        DEFAULT_JAVA_API_LINKS.put( "api_1.4", "http://java.sun.com/j2se/1.4.2/docs/api/" );
        DEFAULT_JAVA_API_LINKS.put( "api_1.5", "http://java.sun.com/j2se/1.5.0/docs/api/" );
        DEFAULT_JAVA_API_LINKS.put( "api_1.6", "http://java.sun.com/javase/6/docs/api/" );
    }
 to instead reference where Oracle has redirected this.

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

        

[jira] Closed: (MJAVADOC-301) DEFAULT_JAVA_API_LINKS values wrong

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MJAVADOC-301.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8
         Assignee: Herve Boutemy

done in r1042228

> DEFAULT_JAVA_API_LINKS values wrong
> -----------------------------------
>
>                 Key: MJAVADOC-301
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-301
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>            Reporter: Marshall Schor
>            Assignee: Herve Boutemy
>            Priority: Minor
>             Fix For: 2.8
>
>
> Since Oracle bought Sun, they have some kind of a redirect for the old java.sun.com/j2se api urls, but on a freshly booted machine, the redirects don't work reliably, it seems, generating messages from running the maven javadocs plugin such as:
> [INFO] --- maven-javadoc-plugin:2.7:javadoc (javadocs-distr) @ uimaj-distr ---
> [ERROR] Error fetching link: http://java.sun.com/j2se/1.5.0/docs/api/package-list. Ignored it.
> Suggest updating the strings in /maven-javadoc-plugin-2.7/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
>     static
>     {
>         DEFAULT_JAVA_API_LINKS.put( "api_1.3", "http://java.sun.com/j2se/1.3/docs/api" );
>         DEFAULT_JAVA_API_LINKS.put( "api_1.4", "http://java.sun.com/j2se/1.4.2/docs/api/" );
>         DEFAULT_JAVA_API_LINKS.put( "api_1.5", "http://java.sun.com/j2se/1.5.0/docs/api/" );
>         DEFAULT_JAVA_API_LINKS.put( "api_1.6", "http://java.sun.com/javase/6/docs/api/" );
>     }
>  to instead reference where Oracle has redirected this.

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