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

Robert Muir commented on LUCENE-9199:
-------------------------------------

The patch conditionally only passes {{--no-module-directories}} on 11 and 12, 
and allows {{ant javadocs}} to succeed on 13.

Otherwise javadocs task fails like this:
{noformat}
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] javadoc: error - invalid flag: --no-module-directories
  [javadoc] Usage:
  [javadoc]     javadoc [options] [packagenames] [sourcefiles] [@files]
...
  [javadoc] 1 error

BUILD FAILED
{noformat}

documentation-lint is still unsupported on this version, that's a separate 
issue. But it allows 'ant javadocs' to work.

> can't build javadocs on java 13+
> --------------------------------
>
>                 Key: LUCENE-9199
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9199
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>            Priority: Major
>         Attachments: LUCENE-9199.patch
>
>
> The build tries to pass an option (--no-module-directories) that is no longer 
> valid: https://bugs.openjdk.java.net/browse/JDK-8215582



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to