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

javadoc:aggregate triggers Javadoc error for test-only modules

    XMLWordPrintableJSON

Details

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

    Description

      1. Extract testcase
      2. Run mvn clean package javadoc:aggregate
      3. Notice that target/site/apidocs/ contains a line "module2=". Meaning the value is empty when it shouldn't be.

      This occurs when aggregating Javadoc from modules and one module only runs unit tests and (very important) the directory src/main/java does not exist.

      If src/main/java exists and is empty then no errors occurs. If src/main exists (without a "java" sub-directory) then this bug occurs.

      Attachments

        1. testcase.zip
          5 kB
          Gili

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: