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

[Patch] sourceFileExcludes does not work due to inclusion of packages

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.10.2
    • None
    • None
    • Patch

    Description

      If you specify sourceFileExcludes for Javadoc generation, they are ignored, because the plugin always supplies a list of packages to Javadoc instead of a list of source files.

      This is easily remedied with the attached patch. It causes the plugin to switch to "pass a list of source files to Javadoc" mode if any sourceFileExcludes are supplied.

      Attachments

        1. MJAVADOC-365-REC-2014-10-09.patch
          9 kB
          Richard Eckart de Castilho
        2. MJAVADOC-365-REC-2014-10-09-a.patch
          9 kB
          Richard Eckart de Castilho
        3. patch
          0.8 kB
          Michael Bayne

        Issue Links

        Activity

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

          People

            rfscholte Robert Scholte
            samskivert Michael Bayne
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment