You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Steinar Bang (JIRA)" <ji...@apache.org> on 2019/04/03 17:41:01 UTC
[jira] [Created] (MJAVADOC-596) aggregate-jar doesn't create any
artifact on the top jar
Steinar Bang created MJAVADOC-596:
-------------------------------------
Summary: 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
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)