This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit 485961aa6321e1b3ac2b7968b16a68e36ff882ba Author: Alex Herbert <aherb...@apache.org> AuthorDate: Fri Feb 15 23:07:43 2019 +0000 The --allow-script-in-comments option is specific to java8. --- pom.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 5b1164b..3dfd486 100644 --- a/pom.xml +++ b/pom.xml @@ -518,6 +518,18 @@ </plugins> </build> </profile> + <!-- profile for MathJax in Java 8 --> + <profile> + <id>jdk8-javadoc</id> + <activation> + <jdk>1.8</jdk> + </activation> + <properties> + <!-- MathJax requires additional Javadoc qualifier for Java8 as of 8u121 --> + <!-- Note that this option is not in Java9 --> + <allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier> + </properties> + </profile> <!-- profile to allow the use of plugin versions that require Java 8+ --> <profile> <id>jdk8-plugins</id> @@ -527,8 +539,6 @@ <properties> <!-- Check for all javadoc errors --> <doclint.javadoc.qualifier>-Xdoclint:all</doclint.javadoc.qualifier> - <!-- MathJax requires additional Javadoc qualifier for Java8+ --> - <allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier> </properties> <build> <plugins>