[
https://issues.apache.org/jira/browse/MJAVADOC-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16727978#comment-16727978
]
Gili commented on MJAVADOC-555:
-------------------------------
[~rfscholte] I suggest the following:
# Commit a code change that checks for this condition and provides a
descriptive error message (possibly pointing to this bug report) if it occurs.
This will help developers who might otherwise spend hours trying to debug what
is going on.
# Keep this bug report open until we have a more satisfying conclusion.
# Publish a release of maven-java-plugin so we begin publishing Java 11
artifacts to Maven Central :)
# Start a discussion thread on jigsaw-dev seeing how/if we can address this
issue.
> Javadoc:aggregate fails if one of the modules does not contain
> module-info.java
> -------------------------------------------------------------------------------
>
> Key: MJAVADOC-555
> URL: https://issues.apache.org/jira/browse/MJAVADOC-555
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Components: javadoc
> Affects Versions: 3.0.2
> Environment: Maven 3.6.0
> maven-javadoc-plugin 3.0.2-SNAPSHOT (required for Java 11 support)
> Reporter: Gili
> Priority: Major
> Attachments: testcase.zip
>
>
> # Unzip testcase
> # Run {{mvn clean install javadoc:aggregate}}
> # Build fails with: {{Exit code: 2 - javadoc: error - No source files for
> package module2}}
> Per MPLUGIN-341, Maven plugins cannot contain {{module.info.java}}. One of my
> projects builds under Java 11 and is fully modularized except for one module
> which is a Maven plugin. Due to the aforementioned issue, I cannot useĀ
> {{javadoc:aggregate.}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)