Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.1.0
-
None
-
None
-
None
-
debian 9.8 "stretch", amd64, openjdk 8u212-b01-1~deb9u1, maven 3.6.0
Description
Starting with version 3.1.0 it is no longer possible to use the aggregate-jar goal to create a javadoc jar for the entire project and attach it to the top pom.
Instead the following error is logged:
[INFO] <<< maven-javadoc-plugin:3.1.0:aggregate-jar (aggregate-javadocs) < compile @ authservice <<< [INFO] [INFO] [INFO] --- maven-javadoc-plugin:3.1.0:aggregate-jar (aggregate-javadocs) @ authservice --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
The configuration for javadoc in the top POM, is:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <show>private</show> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> <execution> <id>aggregate-javadocs</id> <goals> <goal>aggregate-jar</goal> </goals> <phase>prepare-package</phase> <configuration> </configuration> </execution> </executions> </plugin>
Attachments
Issue Links
- duplicates
-
MJAVADOC-599 javadoc:aggregate-jar does not create the jar when executed as build plugin
- Closed