HADOOP-17091. [JDK11] Fix Javadoc errors (#2098)

This commit is contained in:
Akira Ajisaka 2020-08-03 10:46:51 +09:00 committed by GitHub
parent d8a2df25ad
commit c40cbc57fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 1 deletions

5
Jenkinsfile vendored
View File

@ -35,7 +35,7 @@ pipeline {
DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile"
YETUS='yetus'
// Branch or tag name. Yetus release tags are 'rel/X.Y.Z'
YETUS_VERSION='rel/0.12.0'
YETUS_VERSION='master'
}
parameters {
@ -159,6 +159,9 @@ pipeline {
YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-11-openjdk-amd64")
YETUS_ARGS+=("--multijdktests=compile")
# custom javadoc goals
YETUS_ARGS+=("--mvn-javadoc-goals=process-sources,javadoc:javadoc-no-fork")
"${TESTPATCHBIN}" "${YETUS_ARGS[@]}"
'''
}

View File

@ -35,6 +35,7 @@
<is.hadoop.common.component>true</is.hadoop.common.component>
<wsce.config.dir>../etc/hadoop</wsce.config.dir>
<wsce.config.file>wsce-site.xml</wsce.config.file>
<javadoc.skip.jdk11>true</javadoc.skip.jdk11>
</properties>

View File

@ -31,6 +31,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<hadoop.component>hdfs</hadoop.component>
<javadoc.skip.jdk11>true</javadoc.skip.jdk11>
</properties>
<dependencies>

View File

@ -31,6 +31,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<hadoop.component>hdfs</hadoop.component>
<javadoc.skip.jdk11>true</javadoc.skip.jdk11>
</properties>
<dependencies>

View File

@ -32,6 +32,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<hadoop.component>hdfs</hadoop.component>
<is.hadoop.component>true</is.hadoop.component>
<javadoc.skip.jdk11>true</javadoc.skip.jdk11>
</properties>
<dependencies>

View File

@ -152,6 +152,7 @@
<!-- define the Java language version used by the compiler -->
<javac.version>1.8</javac.version>
<javadoc.skip.jdk11>false</javadoc.skip.jdk11>
<!-- The java version enforced by the maven enforcer -->
<!-- more complex patterns can be used here, such as
@ -2399,6 +2400,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>${javadoc.skip.jdk11}</skip>
<source>8</source>
<additionalOptions>
<!-- TODO: remove -html4 option to generate html5 docs when we stop supporting JDK8 -->
<additionalOption>-html4</additionalOption>

View File

@ -35,6 +35,7 @@
<file.encoding>UTF-8</file.encoding>
<downloadSources>true</downloadSources>
<hadoop.tmp.dir>${project.build.directory}/test</hadoop.tmp.dir>
<javadoc.skip.jdk11>true</javadoc.skip.jdk11>
<!-- are scale tests enabled ? -->
<fs.s3a.scale.test.enabled>unset</fs.s3a.scale.test.enabled>