jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1603260 - /jena/trunk/jena-parent/pom.xml
Date Tue, 17 Jun 2014 19:10:55 GMT
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>



Mime
View raw message