Repository: cayenne Updated Branches: refs/heads/master 3c166f9bf -> 09c924cff
fix javadoc doclint param Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/09c924cf Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/09c924cf Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/09c924cf Branch: refs/heads/master Commit: 09c924cff91e0cef1ddeff6085a12e100e896d45 Parents: 3c166f9 Author: Savva Kolbachev <s.kolbac...@gmail.com> Authored: Tue Nov 25 12:20:03 2014 +0300 Committer: Savva Kolbachev <s.kolbac...@gmail.com> Committed: Tue Nov 25 12:20:03 2014 +0300 ---------------------------------------------------------------------- pom.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne/blob/09c924cf/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5ff6b3a..f543fc2 100644 --- a/pom.xml +++ b/pom.xml @@ -793,8 +793,8 @@ <version>2.9.1</version> <configuration> <!-- Java 8 is too strict about Javadoc omissions --> - <additionalparam>-Xdoclint:none</additionalparam> - </configuration> + <additionalparam>${javadoc.doclint.none}</additionalparam> + </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -1367,6 +1367,15 @@ </dependency> </dependencies> </profile> + <profile> + <id>java8-disable-strict-javadoc</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <properties> + <javadoc.doclint.none>-Xdoclint:none</javadoc.doclint.none> + </properties> + </profile> </profiles> <reporting>