HADOOP-15902. [JDK 11] Specify the HTML version of Javadoc to 4.01. Contributed by Takanobu Asanuma.

This commit is contained in:
Akira Ajisaka 2018-11-06 20:44:05 +09:00
parent 6430c9890a
commit 78e43bccf6
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 20 additions and 0 deletions

View File

@ -2002,6 +2002,26 @@
</dependencies>
</dependencyManagement>
</profile>
<profile>
<!-- TODO: remove this profile to generate html5 docs when we stop supporting JDK8 -->
<id>javadoc-html-version</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalOptions>
<additionalOption>-html4</additionalOption>
</additionalOptions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>