You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2021/04/25 21:57:00 UTC
[jira] [Commented] (MJAVADOC-571) javadoc:aggregate triggers
Javadoc error for test-only modules
[ https://issues.apache.org/jira/browse/MJAVADOC-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17331654#comment-17331654 ]
Hudson commented on MJAVADOC-571:
---------------------------------
Build failed in Jenkins: Maven » Maven TLP » maven-javadoc-plugin » master #48
See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-javadoc-plugin/job/master/48/
> 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)