[ 
https://issues.apache.org/jira/browse/MJAVADOC-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]
Robert Scholte closed MJAVADOC-571.
-----------------------------------
    Fix Version/s: 3.2.1
         Assignee: Robert Scholte
       Resolution: Fixed

Fixed in 
[deb3b00b62bc7aefc24c3dce7833d4d9a1fef0b1|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=deb3b00b62bc7aefc24c3dce7833d4d9a1fef0b1]

> 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
>            Assignee: Robert Scholte
>            Priority: Minor
>             Fix For: 3.2.1
>
>         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.3.4#803005)

Reply via email to