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/50c95d43 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/50c95d43 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/50c95d43 Branch: refs/heads/master Commit: 50c95d43de024e37d66dc9242037a00b2fe78de5 Parents: 4720f46 Author: Rene Gielen <rgie...@apache.org> Authored: Thu Jan 14 17:43:20 2016 +0100 Committer: Lukasz Lenart <lukasz.len...@gmail.com> Committed: Tue Jan 19 16:19:19 2016 +0100 ---------------------------------------------------------------------- pom.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/50c95d43/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5d836d3..08c94b4 100644 --- a/pom.xml +++ b/pom.xml @@ -149,6 +149,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>