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

javadoc:aggregate fails with "No source files for package" for packages that are not exported

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      1. Unpack testcase (contains module1, module2 but only module 1 is exported)
      2. Run clean install javadoc:aggregate
      3. Build fails with: javadoc: error - No source files for package module2
      4. Modify module-info.java so it also exports module2
      5. RunĀ clean install javadoc:aggregate
      6. Notice that no error occurs

      Expected behavior: maven-javadoc-module should omit non-exported packages fromĀ target/site/apidocs/packages.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment