[
https://issues.apache.org/jira/browse/MJAVADOC-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957957#comment-17957957
]
Olivier Lamy commented on MJAVADOC-571:
---------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-javadoc-plugin#875|https://github.com/apache/maven-javadoc-plugin/issues/875].
> 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 (Moved to GitHub Issues)
> Issue Type: Bug
> Components: javadoc
> Affects Versions: 3.1.0
> Reporter: Gili
> Assignee: Robert Scholte
> Priority: Minor
> Fix For: 3.3.0
>
> 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
(v8.20.10#820010)