[ https://issues.apache.org/jira/browse/MJAVADOC-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836242#comment-17836242 ]
Gili commented on MJAVADOC-790: ------------------------------- Please let me know if you are able to reproduce this problem. An easy way to do so is to run "mvn clean install" on this project: https://github.com/cowwoc/requirements.java/tree/v9.0.0 > The code being documented uses modules but the packages defined in X are in > the unnamed module > ---------------------------------------------------------------------------------------------- > > Key: MJAVADOC-790 > URL: https://issues.apache.org/jira/browse/MJAVADOC-790 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: jar > Affects Versions: 3.6.3 > Environment: Microsoft Windows [Version 10.0.19045.4170] > Maven 3.9.6 > openjdk version "21.0.1" 2023-10-17 LTS > OpenJDK Runtime Environment Zulu21.30+15-CA (build 21.0.1+12-LTS) > OpenJDK 64-Bit Server VM Zulu21.30+15-CA (build 21.0.1+12-LTS, mixed mode, > sharing) > Reporter: Gili > Priority: Major > > I thought that https://issues.apache.org/jira/browse/MJAVADOC-555 fixed this > problem, but I have just run into it again. > Given: > {code:java} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <executions> > <execution> > <id>attach-javadocs</id> > <goals> > <goal>jar</goal> > </goals> > <configuration> > <show>public</show> > <doctitle>Requirements Jackson Plugin ${project.version} API</doctitle> > <windowtitle>Requirements Jackson Plugin ${project.version} > API</windowtitle> > <additionalOptions> > <!-- https://stackoverflow.com/a/54468139/14731 --> > <option>--override-methods</option> > <option>summary</option> > </additionalOptions> > <links> > > <link>https://www.javadoc.io/doc/com.fasterxml.jackson.core/jackson-databind/2.17.0/</link> > </links> > <offlineLinks> > <!-- > The plugin looks for Javadoc at ${project.url}/apidocs but Github > doesn't support > this layout > --> > <offlineLink> > > <url>https://cowwoc.github.io/requirements.java/${project.version}/docs/api/</url> > <location>${project.basedir}/../java/target/apidocs</location> > </offlineLink> > </offlineLinks> > <excludePackageNames> > com.github.cowwoc.requirements.jackson.internal, > com.github.cowwoc.requirements.jackson.internal.* > </excludePackageNames> > </configuration> > </execution> > </executions> > </plugin>{code} > I get this warning: > {code:java} > [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ jackson --- > [INFO] No previous run data found, generating javadoc. > [WARNING] Javadoc Warnings > [WARNING] warning: The code being documented uses modules but the packages > defined in > https://www.javadoc.io/doc/com.fasterxml.jackson.core/jackson-databind/2.17.0/ > are in the unnamed module. > [WARNING] 1 warning {code} > Any idea why this is happening to Jackson's Javadoc but not to other > non-modules like Guava? -- This message was sent by Atlassian Jira (v8.20.10#820010)