Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.4.0
-
None
-
None
Description
For example, google gson (https://github.com/google/gson) has pointed their javadoc to https://www.javadoc.io/doc/com.google.code.gson/gson on their README.md. But currently, maven-javadoc-plugin will only try to fetch https://github.com/google/gson/apidoc/package-list , which apparently is an invalid address. It doesn't make sense to have github, a source control system to keep track of generated files as well.
Many popular libraries are hosting javadoc with javadoc.io already (eg, mockito / spark), and the pattern is very simple as well: https://www.javadoc.io/doc/[group_id]/[artifact_id]/[version_id]/package-list
This will work with <links> tag, but that's quite tedious as everytime we have to manually keep things in sync when we add / remove dependencies or update dependency versions.
Thus, it will be quite helpful if maven-javadoc-plugin can just automatically try this url pattern from the dependency list as well.
Attachments
Issue Links
- links to