[ 
https://issues.apache.org/jira/browse/OOZIE-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371832#comment-14371832
 ] 

Ryota Egashira commented on OOZIE-2177:
---------------------------------------

[~rkanter] yes, agree, to really fix JDK8 javadoc issue,  we have to change 
javadoc parts of code  (e.g., <p/> to <p></p>), but it come appear in many 
places.  profile also works, but end up suppressing doc check anyway, which is 
still workaround in a sense. so I will open another JIRA for real javadoc fix 
to keep track, (I don't have time to work at this moment, and we are just 
checking test case failure on JDK8 over jenkins build, but anybody can pick up 
when have time)   
about this patch, regardless of JDK8 or not, parameterizing javadoc parameters 
is valuable, so let me keep this separately.

> 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)

Reply via email to