[ https://issues.apache.org/jira/browse/MJAVADOC-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MJAVADOC-615. ----------------------------------- Fix Version/s: (was: waiting-for-feedback) Resolution: Not A Problem The JDK issue has been resolved. No need to take action. > Workaround for bug JDK-8212233 does no longer work in 3.1.1 when using Java 12 > ------------------------------------------------------------------------------ > > Key: MJAVADOC-615 > URL: https://issues.apache.org/jira/browse/MJAVADOC-615 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: jar, javadoc > Affects Versions: 3.1.1 > Reporter: Benedikt Ritter > Assignee: Olivier Lamy > Priority: Major > Attachments: mjavadoc-615.tar.gz > > > The workaround for > [JDK-8212233|https://bugs.openjdk.java.net/browse/JDK-8212233] does not > longer work in 3.1.1 when building on Java 12. The error being reported is: > {{Exit code: 1 - javadoc: error - The code being documented uses packages in > the unnamed module, but the packages defined in > [https://docs.oracle.com/en/java/javase/12/docs/api/] are in named modules.}} > The workaround for this was to add <source>8</source> to the > maven-javadoc-plugin configuration. This would fix the issue on Java 9,10 and > 12 in 3.1.0. On 11 it was still broken. When I updated to the 3.1.1 release, > my build started to fail on Java 12, although it worked before. > I've attached a demo project and here is what I can observe when I run mvn > javadoc:javadoc: > > ||Plugin version||Java Version||Result|| > |3.1.0|9|Success| > |3.1.0|10|Success| > |3.1.0|11|Failure| > |3.1.0|12|*Success*| > |3.1.1|9|Success| > |3.1.1|10|Success| > |3.1.1|11|Failure| > |3.1.1|12|*Failure*| > -- This message was sent by Atlassian Jira (v8.3.4#803005)