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

Javadoc:aggregate, Javadoc:jar fail if one of the modules does not contain module-info.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • jar, javadoc
    • None
    • Maven 3.6.0
      maven-javadoc-plugin 3.0.2-SNAPSHOT (required for Java 11 support)

    Description

      1. Unzip testcase
      2. Run mvn clean install javadoc:aggregate
      3. 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.

      Attachments

        1. testcase.zip
          4 kB
          Gili
        2. javadoc-cannot-link-to-automatic-modules.zip
          2 kB
          Gili
        3. toolchains.xml
          0.3 kB
          Gili

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: