You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by gk...@apache.org on 2016/12/07 07:46:41 UTC

svn commit: r1773016 - /turbine/maven/turbine-parent/trunk/pom.xml

Author: gk
Date: Wed Dec  7 07:46:41 2016
New Revision: 1773016

URL: http://svn.apache.org/viewvc?rev=1773016&view=rev
Log:
- add profile no-doclint to fix site generation with java 8+ 
- update eclipse version, add info

Modified:
    turbine/maven/turbine-parent/trunk/pom.xml

Modified: turbine/maven/turbine-parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/turbine/maven/turbine-parent/trunk/pom.xml?rev=1773016&r1=1773015&r2=1773016&view=diff
==============================================================================
--- turbine/maven/turbine-parent/trunk/pom.xml (original)
+++ turbine/maven/turbine-parent/trunk/pom.xml Wed Dec  7 07:46:41 2016
@@ -158,10 +158,10 @@
         </configuration>
       </plugin>      
       <plugin>
-        <!-- generate the Eclipse project files -->
+        <!-- generate the Eclipse project files or use m2eclipse  -->
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
-        <version>2.9</version>
+        <version>2.10</version>
         <configuration>
           <downloadSources>true</downloadSources>
           <downloadJavadocs>false</downloadJavadocs>
@@ -429,6 +429,17 @@
         </plugins>
       </build>
     </profile>
+    <!-- ignore doclint errors (should be warnings) for site generation, if using java 8 or above -->
+    <profile>
+        <id>no-doclint</id>
+        <activation>
+            <jdk>[1.8,)</jdk>  
+        </activation>
+        <properties>
+          <additionalparam>-Xdoclint:none</additionalparam>
+        </properties>
+    </profile>
+
   </profiles>
 
   <properties>