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

javadoc:aggregate ignores excludePackageNames

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-M1
    • 3.0.0
    • javadoc
    • None

    Description

      When running javadoc:aggregate and specifying subpackages and excludePackageNames, excludePackageNames is completely ignored.

      According to the code, excludePackageNames is only considered when sourcepath is set. This is however not applicable to an aggregated project, or it might but I'm not seeing it. What happens in the code is that sourcepath is derived from the found sources during aggregation, unfortunately, this happens after the excluded packages have been calculated.

      I have a patch for this that will be linked as soon as I have the issue number.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              klaren Anton Klarén
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: