-
Notifications
You must be signed in to change notification settings - Fork 919
Description
The links from the per-module Javadoc provided in Maven Central into the centrally hosted API docs are broken.
Description of bug
External Links from the Javadoc published in Maven Central point to https://aws.amazon.com/sdkforjava/apidocs
but no Javadoc lives there.
Expected Behavior
Correct link.
Current Behavior
Reason for problem:
The Maven Javadoc Plugin by default uses ${project.url}
value but this value is https://aws.amazon.com/sdkforjava
. The Plugin will by convention expect to find Javadoc at the subpath /apidocs
of this URL.
Possible Solution
Changing the project's URL, i.e. <url>....</url>
value, in all POM files may not be the way to go solely to make the Maven Javadoc Plugin happy. Perhaps an URL redirect would be the easiest solution? Meaning having the aws.amazon.com website redirect requests for https://aws.amazon.com/sdkforjava/apidocs
to https://sdk.amazonaws.com/java/api/latest/
.
Another option might be to set links
configuration value explicitly for the Maven Javadoc Plugin.
Context
Verified as a problem on v2.15.26, but I suspect the problem exist for any version.