You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Akira Ajisaka (Jira)" <ji...@apache.org> on 2020/11/24 09:03:00 UTC

[jira] [Created] (HADOOP-17394) [JDK 11] mvn package -Pdocs fails

Akira Ajisaka created HADOOP-17394:
--------------------------------------

             Summary: [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


"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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org