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

Robert Scholte commented on MJAVADOC-499:
-----------------------------------------

So you have a Java 9 project and want to generate the Javadoc with Java 8 (or 
before)? Looks odd to me, because it'll also remove the interesting module 
related information and the new search options.
I think we should motivate people to Java 9 javadoc in this case and maybe add 
an example with your profile if they really want to do it differently. Yes it 
is verbose, but hopefully that'll make people aware of their choice. 

> Ignore module-info.java on earlier Java versions
> ------------------------------------------------
>
>                 Key: MJAVADOC-499
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-499
>             Project: Maven Javadoc Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-M1
>            Reporter: Stephen Colebourne
>            Assignee: Robert Scholte
>             Fix For: 3.0.0
>
>
> Versions of the javadoc tool prior to Java 9 cannot process 
> `module-info.java`. The plugin should automatically detect and exclude 
> `module-info.java` if the javadoc tool is Java 8 or earlier. The alternative 
> (Java version specific profiles) does work, but is very verbose for something 
> that can never work (thus the plugin should deal with it)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to