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

excludePackageNames is not working as documented anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.3.0
    • None
    • None

    Description

      We have the following configuration at XWiki: https://github.com/xwiki/xwiki-commons/blob/xwiki-commons-11.1/pom.xml#L1946. We don't want to produce javadoc for internal packages. This is very similar to the example given on https://maven.apache.org/plugins/maven-javadoc-plugin/examples/exclude-package-names.html.

      When I upgrade to 3.1.0 the exclude is not taken into account anymore (I get error related to classes located in internal packages). For example:

      /home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-commons_master/xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/version/internal/DefaultVersionConstraint.java:49: error: reference not found
      
       * @see org.sonatype.aether.util.version.GenericVersionConstraint
      

      I noticed MJAVADOC-548 but since the documentation did not changed I assumed my use case was still OK.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              tmortagne Thomas Mortagne
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: