kwin opened a new issue, #1041:
URL: https://github.com/apache/maven-plugin-tools/issues/1041

   ### New feature, improvement proposal
   
   Currently the given `externalJavadocBaseUrl` is being used first to 
construct a target url (e.g. to `element-list`) and then it is requested. This 
fails when there is no deep redirect support. For example the Oracle URL 
<https://docs.oracle.com/javase/11/docs/api/> redirects to 
<https://docs.oracle.com/en/java/javase/11/docs/api/index.html> but 
<https://docs.oracle.com/javase/11/docs/api/element-list> is also redirected to 
<https://docs.oracle.com/en/java/javase/11/docs/api/index.html> instead of 
<https://docs.oracle.com/en/java/javase/11/docs/api/element-list>.
   
   In order to support redirects which always redirect to the index page, the 
request url should be constructed *after* the redirect target has been been 
resolved.
   
   This requires some change in 
https://github.com/apache/maven-plugin-tools/blob/4ee91b1f88c6ab02323be397f45e978ebc1064c0/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/javadoc/JavadocSite.java#L539.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to