jira-importer commented on issue #871:
URL: 
https://github.com/apache/maven-javadoc-plugin/issues/871#issuecomment-2957358628

   **[Olivier 
Cailloux](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=oliviercailloux)**
 commented
   
   See [official 
doc](https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#detectJavaApiLink)
 about `detectJavaApiLink`. The link there to the Javadoc is broken. The 
relevant source code is at 
https://github.com/apache/maven-javadoc-plugin/blob/master/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java.
   
   To debug, use `mvn --debug 
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:javadoc` and search for 
`Java API link`.
   
   For me, including 
[explicitly](https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html)
 the `source` parameter as requested in the doc (with `<source>11</source>`) 
did not work either: I still get `No Java API link found.` I have not 
investigated further as this would be too verbose anyway. As an effective 
workaround, I include 
`<link>https://docs.oracle.com/en/java/javase/11/docs/api/</link>` in the 
`maven-javadoc-plugin` configuration.
   


-- 
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