Deactivate doclint for Java 8+

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1751692 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 372e719..630eedf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
 
   <inceptionYear>2002</inceptionYear>
   <description>
-The Apache Commons IO library contains utility classes, stream implementations, file filters, 
+The Apache Commons IO library contains utility classes, stream implementations, file filters,
 file comparators, endian transformation classes, and much more.
   </description>
 
@@ -273,7 +273,7 @@
             <classpathDependencyExclude>xerces:xercesImpl</classpathDependencyExclude>
           </classpathDependencyExcludes>
           <forkCount>1</forkCount>
-          <reuseForks>false</reuseForks> 
+          <reuseForks>false</reuseForks>
           <!-- limit memory size see IO-161 -->
           <argLine>-Xmx25M</argLine>
           <includes>
@@ -406,5 +406,14 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk8-javadoc</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <properties>
+        <additionalparam>-Xdoclint:none</additionalparam>
+      </properties>
+    </profile>
   </profiles>
 </project>