使用带有config的maven插件生成的javadoc
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<source>11</source>
<show>private</show>
<nohelp>false</nohelp>
<destDir>javadocs</destDir>
<attach>true</attach>
<includeDependencySources>false</includeDependencySources>
<additionalJOption>--no-module-directories</additionalJOption>
</configuration>
</plugin>
但是对于jdk 11 javadoc,它重定向到https://docs.oracle.com/en/java/javase/11/docs/api/java/lang/String.html?is-external=true
理想情况下,它应该重定向到https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true
1条答案
按热度按时间ijnw1ujt1#
用
javaApiLinks
修复了它