maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MJAVADOC-575) <source>8</source> fails when module-info.java exists
Date Fri, 08 Feb 2019 12:55:00 GMT

     [ https://issues.apache.org/jira/browse/MJAVADOC-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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

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

> <source>8</source> fails when module-info.java exists
> -----------------------------------------------------
>
>                 Key: MJAVADOC-575
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-575
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Markus Karg
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 3.1.0
>
>
> Some projects are written for Java 8 but include a module-info.java class cross-compiled
using JDK 9. On JDK 11.0.2 the Maven Javadoc Plugin does fail with the following message:
>  error: option --module-path not allowed with target 1.8
> In fact, it is wrong that the Javadoc plugin uses the "--module-path" option once <source>8</source>
is provided.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message