Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4403

JDK 8: build fails due to JavaDoc checking issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.16.3
    • Fix Version/s: 2.3.28, 2.5
    • Component/s: Build Management
    • Labels:

      Description

      JDK 8 introduced stricter checking for JavaDoc processing, causing issues formerly producing warning messages to break the build.

      Basically the fix is as easy as adding the following configuration to the pluginManagement section:

      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>2.9.1</version>
          <configuration>
              <show>private</show>
              <additionalparam>-Xdoclint:none</additionalparam>
          </configuration>
      </plugin>
      

      To fix and close this issue, we need a testable build though which is currently blocked by WW-4402

        Attachments

          Activity

            People

            • Assignee:
              rgielen René Gielen
              Reporter:
              rgielen René Gielen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: