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)