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