[
https://issues.apache.org/jira/browse/HADOOP-17394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239022#comment-17239022
]
Akira Ajisaka commented on HADOOP-17394:
----------------------------------------
Reverted the above commit and added the JIRA ID.
https://github.com/apache/hadoop/commit/2ce2198287c9acade501d2681475fac1e5c27c68
> [JDK 11] mvn package -Pdocs fails
> ---------------------------------
>
> Key: HADOOP-17394
> URL: https://issues.apache.org/jira/browse/HADOOP-17394
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: build, documentation
> Reporter: Akira Ajisaka
> Assignee: Akira Ajisaka
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> "mvn package -Pdocs -DskipTests -DskipShade" fails with Java 11.
> {noformat}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc (default) on
> project hadoop-common: An error has occurred in Javadoc report generation:
> [ERROR] Exit code: 1 - javadoc: warning - You have specified the HTML version
> as HTML 4.01 by using the -html4 option.
> [ERROR] The default is currently HTML5 and the support for HTML 4.01 will be
> removed
> [ERROR] in a future release. To suppress this warning, please ensure that any
> HTML constructs
> [ERROR] in your comments are valid in HTML5, and remove the -html4 option.
> [ERROR]
> /Users/aajisaka/git/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ipc/protobuf/RpcHeaderProtos.java:3467:
> error: cannot find symbol
> [ERROR] com.google.protobuf.GeneratedMessageV3 implements
> [ERROR] ^
> (snip)
> {noformat}
> The goal "javadoc" should be "javadoc-no-fork".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]