diff options
author | Takuya UESHIN <ueshin@happy-camper.st> | 2014-11-28 13:00:15 -0500 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-11-28 13:00:29 -0500 |
commit | 32198347ffb71f72f37e4bded262da80452a5aea (patch) | |
tree | dcdf61a8ba695cabed345c877fe8c71eaa17e455 /pom.xml | |
parent | 8cf12279969afe5099c66ad16897db366e7234ed (diff) | |
download | spark-32198347ffb71f72f37e4bded262da80452a5aea.tar.gz spark-32198347ffb71f72f37e4bded262da80452a5aea.tar.bz2 spark-32198347ffb71f72f37e4bded262da80452a5aea.zip |
[SPARK-4193][BUILD] Disable doclint in Java 8 to prevent from build error.
Author: Takuya UESHIN <ueshin@happy-camper.st>
Closes #3058 from ueshin/issues/SPARK-4193 and squashes the following commits:
e096bb1 [Takuya UESHIN] Add a plugin declaration to pluginManagement.
6762ec2 [Takuya UESHIN] Fix usage of -Xdoclint javadoc option.
fdb280a [Takuya UESHIN] Fix Javadoc errors.
4745f3c [Takuya UESHIN] Merge branch 'master' into issues/SPARK-4193
923e2f0 [Takuya UESHIN] Use doclint option `-missing` instead of `none`.
30d6718 [Takuya UESHIN] Fix Javadoc errors.
b548017 [Takuya UESHIN] Disable doclint in Java 8 to prevent from build error.
(cherry picked from commit e464f0ac2d7210a4bf715478885fe7a8d397fe89)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -1037,6 +1037,11 @@ </filesets> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.10.1</version> + </plugin> </plugins> </pluginManagement> @@ -1230,6 +1235,25 @@ </profile> + <profile> + <id>doclint-java8-disable</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <!-- A series of build profiles where customizations for particular Hadoop releases can be made --> <!-- Hadoop-a.b.c dependencies can be found at |