[
https://issues.apache.org/jira/browse/MJAVADOC-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16864242#comment-16864242
]
Robert Scholte commented on MJAVADOC-596:
-----------------------------------------
duplicate of MJAVADOC-599?
> aggregate-jar doesn't create any artifact on the top jar
> --------------------------------------------------------
>
> Key: MJAVADOC-596
> URL: https://issues.apache.org/jira/browse/MJAVADOC-596
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: debian 9.8 "stretch", amd64, openjdk 8u212-b01-1~deb9u1,
> maven 3.6.0
> Reporter: Steinar Bang
> Priority: Major
>
> 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:
> {noformat}
> [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
> {noformat}
> The configuration for javadoc in the top POM, is:
> {noformat}
> <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>
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)