You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by im...@apache.org on 2016/01/25 18:15:56 UTC

[02/14] incubator-asterixdb git commit: Change doclint mask flag to only enable on Java 8

Change doclint mask flag to only enable on Java 8

Change-Id: I402cef4206fa0610eaff899cf005875323fb18d4
Reviewed-on: https://asterix-gerrit.ics.uci.edu/565
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <im...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/commit/fd6a7bdd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/tree/fd6a7bdd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/diff/fd6a7bdd

Branch: refs/heads/release-0.8.8
Commit: fd6a7bddb760337c42867b7ec4d999e530fd8734
Parents: 73d4211
Author: Ian Maxon <im...@apache.org>
Authored: Tue Dec 29 12:21:43 2015 -0800
Committer: Ian Maxon <im...@apache.org>
Committed: Tue Dec 29 13:14:01 2015 -0800

----------------------------------------------------------------------
 pom.xml | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/fd6a7bdd/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9933b36..51dd9d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -191,14 +191,6 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-resources-plugin</artifactId>
             </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.10.3</version>
-                <configuration>
-                    <additionalparam>-Xdoclint:none</additionalparam>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
 
@@ -267,6 +259,24 @@
             </properties>
         </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:none</additionalparam>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 
     <modules>