[
https://issues.apache.org/jira/browse/OOZIE-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510800#comment-15510800
]
Abhishek Bafna commented on OOZIE-2487:
---------------------------------------
[~rkanter] There are many java doc error, may be more than 250+. I used this
simple command to get the number:
{noformat}
$ java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
$ mvn clean javadoc:javadoc -DskipTests | grep "warning: no description for" |
wc -l
266
{noformat}
The ideal solution would be to fix the java doc, but that is bigger task and I
guess we can achieve it slowly with time.
For fixing the issue we can use the {{maven-javadoc-plugin}} plugin and mark
the {{failOnError}} to {{false}}.
Attaching a patch with this fix, Please let me know if this makes sense to you.
Thanks.
> Unable to build distro on Java 8 (on Mac)
> -----------------------------------------
>
> Key: OOZIE-2487
> URL: https://issues.apache.org/jira/browse/OOZIE-2487
> Project: Oozie
> Issue Type: Bug
> Components: core
> Affects Versions: 4.3.0
> Environment: Mac OS X (10.10.5), Java 1.8.0_66
> Reporter: Rajendra Patil
> Priority: Blocker
> Labels: java8
> Fix For: 4.3.0
>
> Attachments: OOZIE-2487-1.patch, OOZIE-2487-2.patch
>
>
> While looking at another issue, I came across this. When I cloned latest
> oozie and tried to build distro using `./bin/mkdistro.sh` I found that the
> build failed with following error.
> -------
> ....
> .../oozie/core/src/main/java/org/apache/oozie/service/UUIDService.java:114:
> error: reference not found
> [ERROR] * systemId is the value defined in the {@link #CONF_SYSTEM_ID}
> configuration property.
> ...
> -------
> The error seems to be due to the Java 8 feature (DocLint) that checks for
> errors in Java Docs strictly. The solution would be create a Java 8 specific
> profile to pass '-Xdoclint:none' to deactivate it. Having this flag for older
> java version fails to it has to be only for Java 8 using specific profile.
> I will create a patch for the same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)