You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2014/06/17 21:10:55 UTC

svn commit: r1603260 - /jena/trunk/jena-parent/pom.xml

Author: andy
Date: Tue Jun 17 19:10:54 2014
New Revision: 1603260

URL: http://svn.apache.org/r1603260
Log:
Turn off doclint for Java8+

Modified:
    jena/trunk/jena-parent/pom.xml

Modified: jena/trunk/jena-parent/pom.xml
URL: http://svn.apache.org/viewvc/jena/trunk/jena-parent/pom.xml?rev=1603260&r1=1603259&r2=1603260&view=diff
==============================================================================
--- jena/trunk/jena-parent/pom.xml (original)
+++ jena/trunk/jena-parent/pom.xml Tue Jun 17 19:10:54 2014
@@ -73,6 +73,28 @@
     <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
   </properties>
 
+  <profiles>
+    <profile>
+      <!-- Turn of doclint for java8 and later -->
+      <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>
+
   <!-- Version management -->
   <dependencyManagement>
     <dependencies>