Author: cbrisson
Date: Wed Jan 31 13:05:04 2018
New Revision: 1822794
URL: http://svn.apache.org/viewvc?rev=1822794&view=rev
Log:
[tools] Less strict javadoc syntax for Java 1.8
Modified:
velocity/tools/trunk/pom.xml
Modified: velocity/tools/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/velocity/tools/trunk/pom.xml?rev=1822794&r1=1822793&r2=1822794&view=diff
==============================================================================
--- velocity/tools/trunk/pom.xml (original)
+++ velocity/tools/trunk/pom.xml Wed Jan 31 13:05:04 2018
@@ -51,6 +51,19 @@
<servlet.api.version>3.0.1</servlet.api.version>
</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>
<pluginManagement>
@@ -110,6 +123,7 @@
<configuration>
<aggregate>true</aggregate>
<excludePackageNames>org.apache.velocity.tools.examples</excludePackageNames>
+ <additionalparam>${javadoc.opts}</additionalparam>
<links>
</links>
</configuration>