HBASE-15011 turn off the jdk8 javadoc linter.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/822fead7 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/822fead7 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/822fead7 Branch: refs/heads/hbase-12439 Commit: 822fead744a308df7ae45da440047207841d7abc Parents: 9b8895b Author: Sean Busbey <bus...@apache.org> Authored: Sat Dec 26 16:47:53 2015 -0600 Committer: Sean Busbey <bus...@apache.org> Committed: Tue Dec 29 11:00:00 2015 -0600 ---------------------------------------------------------------------- pom.xml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/822fead7/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 08a1bf0..897b41c 100644 --- a/pom.xml +++ b/pom.xml @@ -517,6 +517,11 @@ <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>${javadoc.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> <version>1.5</version> </plugin> @@ -1792,6 +1797,26 @@ --> <profiles> + <profile> + <id>build-with-jdk8</id> + <activation> + <jdk>1.8</jdk> + </activation> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used --> + <additionalparam>-Xdoclint:none</additionalparam> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> <!-- profile activated by the Jenkins patch testing job --> <profile> <id>jenkins.patch</id> @@ -2780,7 +2805,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10.3</version> + <version>${javadoc.version}</version> <reportSets> <!-- Dev API --> <reportSet>