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

javadoc:jar fails when project has Automatic-Module-Name and (implicit) uses offlinelinks with element-list

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: javadoc
    • Labels:
      None
    • Environment:
      maven-javadoc-plugin 3.1.0-SNAPSHOT
      JDK 12-ea+28

      Description

      1. Unpack testcase
      2. Run mvn clean package javadoc:aggregate -e
      3. module2 will fail to build with: "javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in http://nexus.sonatype.org/oss-repository-hosting.html/root/module1/apidocs/ are in named modules."

        Attachments

        1. javadoc-mojo-requires-module.zip
          5 kB
          Gili
        2. testcase.zip
          5 kB
          Gili

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              cowwoc Gili
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: