phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vincentp...@apache.org
Subject phoenix git commit: PHOENIX-4774 Disable doclint in 1.8+ JDKs
Date Wed, 06 Jun 2018 18:20:06 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 821c7efa7 -> 00eb60a58


PHOENIX-4774 Disable doclint in 1.8+ JDKs


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/00eb60a5
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/00eb60a5
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/00eb60a5

Branch: refs/heads/4.x-HBase-1.2
Commit: 00eb60a58ed635e359de5081ac60c4112f60faca
Parents: 821c7ef
Author: Alex Araujo <alexaraujo@gmail.com>
Authored: Tue Jun 5 11:20:17 2018 -0700
Committer: Vincent Poon <vincentpoon@apache.org>
Committed: Wed Jun 6 11:20:03 2018 -0700

----------------------------------------------------------------------
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/00eb60a5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c00204e..884cb51 100644
--- a/pom.xml
+++ b/pom.xml
@@ -408,6 +408,9 @@
               <!-- TODO turn back on javadocs - disabled now for testing -->
               <!-- <goal>jar</goal> -->
             </goals>
+            <configuration>
+              <additionalparam>${javadoc.opts}</additionalparam>
+            </configuration>
           </execution>
         </executions>
       </plugin>
@@ -962,6 +965,16 @@
   </dependencyManagement>
 
   <profiles>
+    <!-- disable doclint with 1.8+ JDKs-->
+    <profile>
+      <id>java8-doclint-disabled</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <properties>
+        <javadoc.opts>-Xdoclint:none</javadoc.opts>
+      </properties>
+    </profile>
     <!-- this profile should be activated for release builds -->
     <profile>
       <id>release</id>


Mime
View raw message