aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorTakuya UESHIN <ueshin@happy-camper.st>2014-11-28 13:00:15 -0500
committerPatrick Wendell <pwendell@gmail.com>2014-11-28 13:00:15 -0500
commite464f0ac2d7210a4bf715478885fe7a8d397fe89 (patch)
treea7dd47931f952fd203c67f8282c9bfccd7451c6d /pom.xml
parent53ed7f1c7f8534d0d7856d83e3b46e36d09659d2 (diff)
downloadspark-e464f0ac2d7210a4bf715478885fe7a8d397fe89.tar.gz
spark-e464f0ac2d7210a4bf715478885fe7a8d397fe89.tar.bz2
spark-e464f0ac2d7210a4bf715478885fe7a8d397fe89.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.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 4220c1ace0..b7df53d3e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1025,6 +1025,11 @@
</filesets>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.1</version>
+ </plugin>
</plugins>
</pluginManagement>
@@ -1218,6 +1223,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