[ https://issues.apache.org/jira/browse/MJAVADOC-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784876#comment-16784876 ]
Sjoerd Talsma commented on MJAVADOC-583: ---------------------------------------- In the above project, the following is the `packages` file for `3.0.1`: {quote}nl.talsmasoftware.context.clearable nl.talsmasoftware.context nl.talsmasoftware.context.threadlocal nl.talsmasoftware.context.observer nl.talsmasoftware.context.delegation nl.talsmasoftware.context.timing nl.talsmasoftware.context.executors {quote} The one for `3.1.0` is not so intuitive: {quote}nl.talsmasoftware.context.clearable nl.talsmasoftware.context.clearable nl.talsmasoftware.context nl.talsmasoftware.context.threadlocal nl.talsmasoftware.context nl.talsmasoftware.context.observer nl.talsmasoftware.context.observer nl.talsmasoftware.context.delegation nl.talsmasoftware.context.delegation nl.talsmasoftware.context.delegation nl.talsmasoftware.context.delegation nl.talsmasoftware.context.delegation nl.talsmasoftware.context.delegation nl.talsmasoftware.context.delegation nl.talsmasoftware.context nl.talsmasoftware.context.timing nl.talsmasoftware.context.executors nl.talsmasoftware.context nl.talsmasoftware.context nl.talsmasoftware.context nl.talsmasoftware.context nl.talsmasoftware.context {quote} Note the repetitions! The error I get in my own machine, so not on travis is the following: {quote}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:jar (generate-javadoc) on project context-propagation: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 - /Users/sjoerd/Documents/workspace/talsmasoftware/context-propagation/context-propagation-java5/src/main/java/nl/talsmasoftware/context/Timing.java:31: error: class Timing clashes with package of same name [ERROR] final class Timing { {quote} Please note there being a _class_ nl.talsmasoftware.context.Timing and a _package_ nl.talsmasoftware.context.timing which was no problem for javac or javadoc until plugin 3.1.0.. > javadoc: error - The code being documented uses modules but the packages > defined in {URL} are in the unnamed module > ------------------------------------------------------------------------------------------------------------------- > > Key: MJAVADOC-583 > URL: https://issues.apache.org/jira/browse/MJAVADOC-583 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: jar > Affects Versions: 3.1.0 > Environment: Travis CI, toolchain with openjdk 11.0.2 > Reporter: Sjoerd Talsma > Priority: Major > Attachments: > context-propagation-dependabot-maven-org.apache.maven.plugins-maven-javadoc-plugin-3.1.0.zip, > packages-3.0.1, packages-3.1.0 > > > My project build with toolchains, using both oracle JDK 8 and openjdk 11.0.2 > generating both 'jar' and 'aggregate-jar' documentation. > This seems to inversely relate to MJAVADOC-555 somehow. > The following error occurs: > {quote}Exit code: 1 - javadoc: error - The code being documented uses modules > but the packages defined in > [https://javadoc.io/page/nl.talsmasoftware.context/context-propagation-root/1.0.6-SNAPSHOT/] > are in the unnamed module > {quote} > _source: > [https://travis-ci.org/talsma-ict/context-propagation/builds/501900168]_ > github: > [https://github.com/talsma-ict/context-propagation/tree/dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.1.0] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)