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 d4726f319ddc3bcb703298a67beb8774d1a99315
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Mon Feb 18 13:37:47 2019 +0000

    Use javadoc parameter --allow-script-in-comments for all JDKs after 1.8
---
 pom.xml | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3dfd486..becd924 100644
--- a/pom.xml
+++ b/pom.xml
@@ -518,18 +518,6 @@
         </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>
@@ -537,6 +525,8 @@
         <jdk>[1.8,)</jdk>
       </activation>
       <properties>
+        <!-- MathJax script inclusion requires additional Javadoc qualifier 
for Java8 as of 8u121 -->
+        
<allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier>
         <!-- Check for all javadoc errors -->
         <doclint.javadoc.qualifier>-Xdoclint:all</doclint.javadoc.qualifier>
       </properties>

Reply via email to