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-statistics.git


The following commit(s) were added to refs/heads/master by this push:
     new 23a6084  Fixed MathJax Javadoc support for maven-javadoc-plugin 
version 3.
23a6084 is described below

commit 23a60849d2830a2a45db45f7b6acd422410be2f8
Author: aherbert <a.herb...@sussex.ac.uk>
AuthorDate: Fri Feb 15 11:10:36 2019 +0000

    Fixed MathJax Javadoc support for maven-javadoc-plugin version 3.
---
 pom.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 674980f..8c13614 100644
--- a/pom.xml
+++ b/pom.xml
@@ -257,6 +257,15 @@
           </excludes>
         </configuration>
       </plugin>
+      <!-- MathJax -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <additionalOptions>-Xdoclint:all --allow-script-in-comments -header 
'&lt;script type="text/javascript" 
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${rng.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
+          <!-- <aggregate>true</aggregate> -->
+        </configuration>
+      </plugin>
     </plugins>
 
     <pluginManagement>
@@ -385,7 +394,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <additionalparam>-Xdoclint:all --allow-script-in-comments -header 
'&lt;script type="text/javascript" 
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalparam>
+          <additionalOptions>-Xdoclint:all --allow-script-in-comments -header 
'&lt;script type="text/javascript" 
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${rng.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
           <!-- <aggregate>true</aggregate> -->
         </configuration>
       </plugin>

Reply via email to