Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2177

Parameterize javadoc plugin configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • 4.2.0
    • None
    • None

    Description

      this patch is to add <additionalparam> to org.apache.maven.plugins, and allow it to be overwritten by -D option from CLI.

      this is necessary when building oozie on JDK8, since it hit following javadoc error, which fails builds

      [ERROR] /Users/egashira/Projects/git/aoozie-cms/client/src/main/java/org/apache/oozie/cli/OozieCLI.java:205: error: self-closing element not allowed
      [ERROR] * <p/>

      http://stackoverflow.com/questions/26049329/javadoc-in-jdk-8-invalid-self-closing-element-not-allowed
      JDK 8 it has been decided that tags like <br /> and <p /> should generate errors, because they are invalid (strict) HTML 4.

      this can be avoided by disabling specific checks, by passing -Xdoclint:none to javadoc plugin parameter.

      Attachments

        1. OOZIE-2177.patch
          0.9 kB
          Ryota Egashira

        Issue Links

          Activity

            People

              egashira Ryota Egashira
              egashira Ryota Egashira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: