You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by st...@apache.org on 2017/05/09 11:14:51 UTC
[2/2] commons-numbers git commit: NUMBERS-36: Set javadoc-plugin for
as well
NUMBERS-36: Set javadoc-plugin for <build> as well
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/6dbe8485
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/6dbe8485
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/6dbe8485
Branch: refs/heads/master
Commit: 6dbe8485ce08c5571fbe34e2f6e4d05ba0440e13
Parents: b29de0e
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Tue May 9 12:14:23 2017 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Tue May 9 12:14:23 2017 +0100
----------------------------------------------------------------------
pom.xml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/6dbe8485/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index aacedb7..1d04c4b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,6 +122,7 @@
<numbers.findbugs.version>3.0.2</numbers.findbugs.version>
<numbers.checkstyle.version>2.17</numbers.checkstyle.version>
<numbers.clirr.version>2.7</numbers.clirr.version>
+ <numbers.mathjax.version>2.7.1</numbers.mathjax.version>
<!-- Workaround to avoid duplicating config files. -->
<numbers.parent.dir>${basedir}</numbers.parent.dir>
@@ -240,6 +241,18 @@
</excludes>
</configuration>
</plugin>
+
+ <plugin>
+ <!-- NOTE: javadoc config must also be set under <reporting> -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <!-- Enable MathJax -->
+ <additionalparam>-Xdoclint:all --allow-script-in-comments -header '<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${numbers.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
+ <!-- <aggregate>true</aggregate> -->
+ </configuration>
+ </plugin>
+
</plugins>
<pluginManagement>
@@ -361,12 +374,13 @@
</reportSet>
</reportSets>
</plugin>
- <!-- MathJax -->
<plugin>
+ <!-- NOTE: javadoc config must also be set under <build> -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <additionalparam>-Xdoclint:all --allow-script-in-comments -header '<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
+ <!-- Enable MathJax -->
+ <additionalparam>-Xdoclint:all --allow-script-in-comments -header '<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${numbers.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
<!-- <aggregate>true</aggregate> -->
</configuration>
</plugin>