Remove javadoc links to JDK.
The links configured in CP create redirect warnings on JDK 17 which fail
the build. JDK links are automatically added by the javadoc plugin based
on the target version.
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
+ <!-- Java API links configured in commons-parent create redirect warnings on JDK 17
+ and fail the build. The links are not required as detectJavaApiLink=true (default). -->
+ <links combine.self="override">
+ </links>
<failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax -->
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${numbers.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
+ <!-- Java API links configured in commons-parent create redirect warnings on JDK 17
+ and fail the build. The links are not required as detectJavaApiLink=true (default). -->
+ <links combine.self="override">
+ </links>
<failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax -->
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${numbers.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
