Commit f63a95ed authored by Andy Wilkinson's avatar Andy Wilkinson

Align link configuration with the needs of the Maven Javadoc Plugin

The -link parameters passed into the javadoc executable are used
as-is. For example, redirects are not followed. Unlike 3.x, 2.x of the
Maven javadoc plugin does not attempt to follow redirects before links
are passed to the javadoc executable. As a result, for external links
to work, the links that we provide must be canonical and produce a
200 response when accessed.

Closes gh-14031
parent 384cfd2a
......@@ -785,13 +785,13 @@
<quiet>true</quiet>
<stylesheetfile>${basedir}/src/main/javadoc/spring-javadoc.css</stylesheetfile>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
<link>http://docs.oracle.com/javaee/7/api/</link>
<link>http://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/</link>
<link>http://docs.spring.io/autorepo/docs/spring-security/${spring-security.version}/apidocs/</link>
<link>http://tomcat.apache.org/tomcat-8.0-doc/api/</link>
<link>https://docs.oracle.com/javase/7/docs/api/</link>
<link>https://docs.oracle.com/javaee/7/api/</link>
<link>https://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/</link>
<link>https://docs.spring.io/autorepo/docs/spring-security/${spring-security.version}/apidocs/</link>
<link>https://tomcat.apache.org/tomcat-8.0-doc/api/</link>
<link>https://www.eclipse.org/jetty/javadoc/${jetty.version}/</link>
<link>http://www.thymeleaf.org/apidocs/thymeleaf/${thymeleaf.version}/</link>
<link>https://www.thymeleaf.org/apidocs/thymeleaf/${thymeleaf.version}/</link>
</links>
</configuration>
</execution>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment