[
https://issues.apache.org/jira/browse/HADOOP-17394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira Ajisaka resolved HADOOP-17394.
------------------------------------
Fix Version/s: 3.4.0
3.3.1
Resolution: Fixed
Cherry-picked to branch-3.3.
> [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
> Fix For: 3.3.1, 3.4.0
>
> 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]