You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2019/01/15 22:06:00 UTC

[jira] [Closed] (MJAVADOC-555) Javadoc:aggregate, Javadoc:jar fail 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:all-tabpanel ]

Robert Scholte closed MJAVADOC-555.
-----------------------------------
       Resolution: Fixed
         Assignee: Robert Scholte
    Fix Version/s: 3.1.0

Fixed in [c3e96e622d4ce0ea6e3ba7fcff9cbd2c555ae716|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=c3e96e622d4ce0ea6e3ba7fcff9cbd2c555ae716]
JDK12 has been fixed too, see http://hg.openjdk.java.net/jdk/jdk12/rev/8ce4083fc831

> Javadoc:aggregate, Javadoc:jar fail 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: jar, javadoc
>    Affects Versions: 3.1.0
>         Environment: Maven 3.6.0
> maven-javadoc-plugin 3.0.2-SNAPSHOT (required for Java 11 support)
>            Reporter: Gili
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 3.1.0
>
>         Attachments: javadoc-cannot-link-to-automatic-modules.zip, testcase.zip, toolchains.xml
>
>
> # 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)