Skip to content

Commit f63a95e

Browse files
committed
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
1 parent 384cfd2 commit f63a95e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spring-boot-docs/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -785,13 +785,13 @@
785785
<quiet>true</quiet>
786786
<stylesheetfile>${basedir}/src/main/javadoc/spring-javadoc.css</stylesheetfile>
787787
<links>
788-
<link>http://docs.oracle.com/javase/7/docs/api/</link>
789-
<link>http://docs.oracle.com/javaee/7/api/</link>
790-
<link>http://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/</link>
791-
<link>http://docs.spring.io/autorepo/docs/spring-security/${spring-security.version}/apidocs/</link>
792-
<link>http://tomcat.apache.org/tomcat-8.0-doc/api/</link>
788+
<link>https://docs.oracle.com/javase/7/docs/api/</link>
789+
<link>https://docs.oracle.com/javaee/7/api/</link>
790+
<link>https://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/</link>
791+
<link>https://docs.spring.io/autorepo/docs/spring-security/${spring-security.version}/apidocs/</link>
792+
<link>https://tomcat.apache.org/tomcat-8.0-doc/api/</link>
793793
<link>https://www.eclipse.org/jetty/javadoc/${jetty.version}/</link>
794-
<link>http://www.thymeleaf.org/apidocs/thymeleaf/${thymeleaf.version}/</link>
794+
<link>https://www.thymeleaf.org/apidocs/thymeleaf/${thymeleaf.version}/</link>
795795
</links>
796796
</configuration>
797797
</execution>

0 commit comments

Comments
 (0)