Description
After updating to maven-javadoc-plugin 3.10.0, I am getting empty javadoc jars created.
[INFO] --- jar:3.4.2:jar (default-jar) @ configuration --- [INFO] Building jar: C:\path\to\configuration\target\configuration-10.1.0-SNAPSHOT-2409192051.4892c3d.jar [INFO] [INFO] --- javadoc:3.10.0:jar (attach-javadocs) @ configuration --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: C:\path\to\configuration\target\configuration-10.1.0-SNAPSHOT-2409192051.4892c3d-javadoc.jar [INFO] [INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ configuration --- [INFO] No sources in project. Archive not created.
Prior version, 3.8.0, had no such problem
[INFO] --- jar:3.4.2:jar (default-jar) @ configuration ---
[INFO] Building jar: C:\path\to\configuration\target\configuration-10.1.0-SNAPSHOT-2409192102.595f143.jar
[INFO]
[INFO] --- javadoc:3.8.0:jar (attach-javadocs) @ configuration ---
[INFO]
[INFO] >>> source:3.3.1:jar (attach-sources) > generate-sources @ configuration >>>
Plugin configuration
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.10.0</version> <configuration> <doclint>all,-missing</doclint> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin>
Attachments
Attachments
Issue Links
- links to