From 4c8ea77313b4f29c1c69c4c66901cb6d04746bbc Mon Sep 17 00:00:00 2001 From: Andreas Kohn Date: Mon, 10 Mar 2014 10:04:47 +0100 Subject: [PATCH 1/2] Disable the Java 8 javadoc 'doclint' checks --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index 75bf4d4..ffb1512 100644 --- a/pom.xml +++ b/pom.xml @@ -168,6 +168,9 @@ jar + + -Xdoclint:none + From aaf50eea9ed68773f603ee0d3df59788497ab8fb Mon Sep 17 00:00:00 2001 From: Andreas Kohn Date: Mon, 10 Mar 2014 10:11:11 +0100 Subject: [PATCH 2/2] Conditionalize the use of -Xdoclint:none to Java 8 and up using a profile --- pom.xml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index ffb1512..c61e8e0 100644 --- a/pom.xml +++ b/pom.xml @@ -168,9 +168,6 @@ jar - - -Xdoclint:none - @@ -320,4 +317,24 @@ + + + docline-java8-disable + + [1.8, + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + -Xdoclint:none + + + + + +