velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1777114 - /velocity/engine/trunk/pom.xml
Date Tue, 03 Jan 2017 12:35:22 GMT
Author: cbrisson
Date: Tue Jan  3 12:35:21 2017
New Revision: 1777114

URL: http://svn.apache.org/viewvc?rev=1777114&view=rev
Log:
[engine] disable doclint for java8

Modified:
    velocity/engine/trunk/pom.xml

Modified: velocity/engine/trunk/pom.xml
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/pom.xml?rev=1777114&r1=1777113&r2=1777114&view=diff
==============================================================================
--- velocity/engine/trunk/pom.xml (original)
+++ velocity/engine/trunk/pom.xml Tue Jan  3 12:35:21 2017
@@ -46,6 +46,19 @@
     <surefire.plugin.version>2.19.1</surefire.plugin.version>
     <jira.browse.url>https://issues.apache.org/jira/browse</jira.browse.url>
   </properties>
+
+  <!-- java 8 doclint checks are too strict for our current javadoc state... -->
+  <profiles>
+    <profile>
+      <id>doclint-java8-disable</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <properties>
+        <javadoc.opts>-Xdoclint:none</javadoc.opts>
+      </properties>
+    </profile>
+  </profiles>
   
   <build>
     <defaultGoal>install</defaultGoal>
@@ -68,8 +81,8 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <debug>false</debug>
-          <optimize>true</optimize>
+          <debug>true</debug>
+          <optimize>false</optimize>
           <showDeprecation>true</showDeprecation>
           <showWarning>true</showWarning>
           <source>1.7</source>
@@ -82,6 +95,7 @@
         <version>2.10.4</version>
         <configuration>
           <aggregate>true</aggregate>
+          <additionalparam>${javadoc.opts}</additionalparam>
         </configuration>
       </plugin>
     </plugins>



Mime
View raw message