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

   ### Affected version
   
   3.15.2
   
   ### Bug description
   
   When using the following configuration:
   
   ```
   <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-plugin-plugin</artifactId>
       <configuration>
           <externalJavadocBaseUrls>
              
<externalJavadocBaseUrl>https://docs.oracle.com/en/java/javase/11/docs/api/</externalJavadocBaseUrl>
           </externalJavadocBaseUrls>
       </configuration>
   </plugin>
   ```
   
   Any goal parameters of type `java.lang.String` have the following invalid 
Javadoc URL:
   
   `https://docs.oracle.com/en/java/javase/11/docs/api/java/lang/String.html` 
instead of the correct one 
`https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html`
   
   
   The logic within 
https://github.com/apache/maven-plugin-tools/blob/f7ed01b82c390ff629cecdb3cda88ec9346cc92a/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/javadoc/JavadocLinkGenerator.java#L169
 needs to be adjusted to take into account the module name as well.


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