[ 
https://issues.apache.org/jira/browse/MJAVADOC-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17193775#comment-17193775
 ] 

Benjamin Marwell commented on MJAVADOC-650:
-------------------------------------------

Thanks for creating a PR and taking the time to explain it!

Btw, I (just speaking for myself) would recommend to always set {{JAVA_HOME}}, 
so you have control over the exact JDK you are running maven (and if not using 
toolchains, compiling the code) with. Anyway, good find and easy to fix – 
thanks! :) 

> Fix Javadoc search path for Java 9+
> -----------------------------------
>
>                 Key: MJAVADOC-650
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-650
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Evan Ward
>            Priority: Major
>
> Hi,
> Java 9 changed the directory structure of the JDK and JRE so [1] no longer 
> finds the javadoc command. Debian has a patch to fix this at [2]. It's only a 
> few lines. Please apply the patch or implement the capability to look for 
> `./bin/javadoc` as well as `../bin/javadoc`.
> Thanks,
> Evan
>  
> [1] 
> [https://github.com/apache/maven-javadoc-plugin/blob/master/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L3805]
> [2] 
> [https://sources.debian.org/data/main/m/maven-javadoc-plugin/3.0.1-3/debian/patches/openjdk-9-javadoc-path.patch]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to