You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gili (JIRA)" <ji...@apache.org> on 2018/12/22 22:30:00 UTC

[jira] [Commented] (MJAVADOC-555) Javadoc:aggregate fails if one of the modules does not contain module-info.java

    [ https://issues.apache.org/jira/browse/MJAVADOC-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16727575#comment-16727575 ] 

Gili commented on MJAVADOC-555:
-------------------------------

Reproducible in version 3.0.1 with the following patch for Java 11 support:
<dependencies>
	<dependency>
		<groupId>org.ow2.asm</groupId>
		<artifactId>asm</artifactId>
		<version>7.0</version>
	</dependency>
</dependencies>

> 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
>
> # 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)