You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gili (JIRA)" <ji...@apache.org> on 2019/01/27 04:44:00 UTC
[jira] [Created] (MJAVADOC-571) javadoc:aggregate triggers Javadoc
error for test-only modules
Gili created MJAVADOC-571:
-----------------------------
Summary: javadoc:aggregate triggers Javadoc error for test-only modules
Key: MJAVADOC-571
URL: https://issues.apache.org/jira/browse/MJAVADOC-571
Project: Maven Javadoc Plugin
Issue Type: Bug
Components: javadoc
Affects Versions: 3.1.0
Reporter: Gili
Attachments: testcase.zip
# Extract testcase
# Run {{mvn clean package javadoc:aggregate}}
# Notice that target/site/apidocs/ contains a line "module2=". Meaning the value is empty when it shouldn't be.
This occurs when aggregating Javadoc from modules and one module only runs unit tests and (very important) the directory src/main/java does not exist.
If src/main/java exists and is empty then no errors occurs. If src/main exists (without a "java" sub-directory) then this bug occurs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)