HADOOP-15902. [JDK 11] Specify the HTML version of Javadoc to 4.01. Contributed by Takanobu Asanuma.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/78e43bcc Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/78e43bcc Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/78e43bcc Branch: refs/heads/HDDS-4 Commit: 78e43bccf655153d5fc8fc891d59c536354d8031 Parents: 6430c98 Author: Akira Ajisaka <aajis...@apache.org> Authored: Tue Nov 6 20:44:05 2018 +0900 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Tue Nov 6 20:44:05 2018 +0900 ---------------------------------------------------------------------- hadoop-project/pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/78e43bcc/hadoop-project/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 937f21f..5d38167 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -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> --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org