Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-575

<source>8</source> fails when module-info.java exists

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              mkarg Markus Karg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: