]> source.dussan.org Git - pf4j.git/commitdiff
Fix build on JDK 1.8
authorMário Franco <mario.ffranco@gmail.com>
Wed, 27 May 2015 09:06:23 +0000 (10:06 +0100)
committerMário Franco <mario.ffranco@gmail.com>
Wed, 27 May 2015 09:06:23 +0000 (10:06 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index 781ed132058595143e5d6a9486860282d1a2e3df..5080ad96fdfdb50d12f2b230181d0b86171a5609 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -27,8 +27,8 @@
         <connection>scm:git:https://github.com/decebals/pf4j.git</connection>
         <developerConnection>scm:git:https://github.com/decebals/pf4j.git</developerConnection>
         <url>git@github.com/decebals/pf4j.git</url>
-      <tag>HEAD</tag>
-  </scm>
+        <tag>HEAD</tag>
+    </scm>
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </modules>
 
     <profiles>
+        <profile>
+            <id>JDK 8 Build</id>
+            <activation>
+                <jdk>[1.8,)</jdk>
+            </activation>
+            <properties>
+                <additionalparam>-Xdoclint:none</additionalparam>
+            </properties>
+        </profile>
         <profile>
             <id>release-sign-artifacts</id>
             <activation>