Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Labels:
      None
    • Number of attachments :
      0

      Description

      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.

        Issue Links

          Activity

          Hide
          Herve Boutemy added a comment -

          done in r1042228

          Show
          Herve Boutemy added a comment - done in r1042228

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Marshall Schor
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: