WW-4403 - add JDK 8 profile, disabling JavaDoc lint checker when building with JDK8 (cherry picked from commit 7c4bb7e)
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/9f6a0c9c Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/9f6a0c9c Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/9f6a0c9c Branch: refs/heads/master Commit: 9f6a0c9c9473a3bbe4e78d85b4b00523ac55ce64 Parents: a89bbe2 Author: Rene Gielen <rgie...@apache.org> Authored: Thu Jan 14 17:43:20 2016 +0100 Committer: Rene Gielen <rgie...@apache.org> Committed: Thu Jan 14 17:47:43 2016 +0100 ---------------------------------------------------------------------- pom.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/9f6a0c9c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 862630b..07fb3b3 100644 --- a/pom.xml +++ b/pom.xml @@ -148,6 +148,25 @@ </build> </profile> --> + <profile> + <id>jdk8</id> + <activation> + <jdk>1.8</jdk> + </activation> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <additionalparam>-Xdoclint:none</additionalparam> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> </profiles> <build>