[ https://issues.apache.org/jira/browse/OOZIE-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371701#comment-14371701 ]
Robert Kanter commented on OOZIE-2177: -------------------------------------- This means that to compile on JDK 8, you have to know to pass {{-Xdoclint:none}}, right? Can we make that happen automatically with a profile that gets activated automatically on JDK 8? Alternatively, perhaps we should fix the javadocs themselves? I know that would be very tedious (maybe an IDE can help here), but this seems more like a workaround. > Parameterize javadoc plugin configuration > ------------------------------------------ > > Key: OOZIE-2177 > URL: https://issues.apache.org/jira/browse/OOZIE-2177 > Project: Oozie > Issue Type: Bug > Reporter: Ryota Egashira > Assignee: Ryota Egashira > Attachments: OOZIE-2177.patch > > > 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 > {quote} > [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/> > {quote} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)