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

Robert Scholte commented on WICKET-6728:
----------------------------------------

Moved it, this is caused in the wicket pom, 
https://github.com/apache/wicket/blob/master/pom.xml#L1000

> Javadoc fails with JDK13+: invalid flag: --no-module-directories
> ----------------------------------------------------------------
>
>                 Key: WICKET-6728
>                 URL: https://issues.apache.org/jira/browse/WICKET-6728
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Emond Papegaaij
>            Priority: Major
>
> The maven-javadoc-plugin fails when run with JDK13 or newer with the error 
> below. The flag {{--no-module-directories}} was removed in JDK13.
> {code}
> [ERROR] MavenReportException: Error while generating Javadoc: 
> Exit code: 1 - javadoc: error - invalid flag: --no-module-directories
> Command line was: /usr/lib/jvm/java-14-openjdk-amd64/bin/javadoc -J-Xmx256m 
> -J-Xms128m --no-module-directories @options @packages
> Refer to the generated Javadoc files in 
> '/home/papegaaij/tmp/wicket/wicket-cdi/target/apidocs' dir.
> org.apache.maven.reporting.MavenReportException: 
> Exit code: 1 - javadoc: error - invalid flag: --no-module-directories
> Command line was: /usr/lib/jvm/java-14-openjdk-amd64/bin/javadoc -J-Xmx256m 
> -J-Xms128m --no-module-directories @options @packages
> Refer to the generated Javadoc files in 
> '/home/papegaaij/tmp/wicket/wicket-cdi/target/apidocs' dir.
> {code}



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

Reply via email to