Repository: wicket Updated Branches: refs/heads/wicket-7.x 1ed04287a -> e944148c5
[WICKET-6615] java7 build should be happy Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/e944148c Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/e944148c Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/e944148c Branch: refs/heads/wicket-7.x Commit: e944148c508c330ce76595088d089a58d8cf7c56 Parents: 1ed0428 Author: Maxim Solodovnik <[email protected]> Authored: Sat Nov 24 12:20:33 2018 +0700 Committer: Maxim Solodovnik <[email protected]> Committed: Sat Nov 24 12:20:33 2018 +0700 ---------------------------------------------------------------------- pom.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/e944148c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index f84cd4e..4cd2149 100644 --- a/pom.xml +++ b/pom.xml @@ -856,7 +856,6 @@ <links> <link>http://docs.oracle.com/javase/7/docs/api/</link> </links> - <additionalparam>--allow-script-in-comments</additionalparam> </configuration> <executions> <execution> @@ -1224,6 +1223,25 @@ </plugins> </build> </profile> + <profile> + <id>doclint-java8-disable</id> + <activation> + <jdk>1.8</jdk> + </activation> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <additionalparam>--allow-script-in-comments</additionalparam> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> </profiles> <reporting> <plugins>
