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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • javadoc
    • None
    • 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

            rfscholte Robert Scholte
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: