NUMBERS-23: add --allow-script-in-comments and fix logo URL
diff --git a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java
index a2e38a7..ebf447b 100644
--- a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java
+++ b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java
@@ -24,11 +24,12 @@
*
* <p>
* References:
+ * </p>
+ *
* <ul>
* <li><a href="http://mathworld.wolfram.com/ContinuedFraction.html">
* Continued Fraction</a></li>
* </ul>
- * </p>
*
*/
public abstract class ContinuedFraction {
@@ -91,6 +92,8 @@
* <p>
* The implementation of this method is based on the modified Lentz algorithm as described
* on page 18 ff. in:
+ * </p>
+ *
* <ul>
* <li>
* I. J. Thompson, A. R. Barnett. "Coulomb and Bessel Functions of Complex Arguments and Order."
@@ -98,6 +101,8 @@
* http://www.fresco.org.uk/papers/Thompson-JCP64p490.pdf</a>
* </li>
* </ul>
+ *
+ * <p>
* <b>Note:</b> the implementation uses the terms a<sub>i</sub> and b<sub>i</sub> as defined in
* <a href="http://mathworld.wolfram.com/ContinuedFraction.html">Continued Fraction @ MathWorld</a>.
* </p>
diff --git a/pom.xml b/pom.xml
index 4485994..2758db7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -366,7 +366,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <additionalparam>-Xdoclint:all -header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
+ <additionalparam>-Xdoclint:all --allow-script-in-comments -header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
<!-- <aggregate>true</aggregate> -->
</configuration>
</plugin>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 06fdc65..fa158bb 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -56,6 +56,9 @@
Apache Commons Numbers 1.0 contains the following modules:
TBD
">
+ <action dev="kinow" type="fix" issue="NUMBERS-23">
+ mvn site won't compile due to javascript error
+ </action>
<action dev="sushakov" type="fix" issue="NUMBERS-15">
"BigFraction": Fixed overflow "doubleValue()" and "floatValue()".
</action>
diff --git a/src/site/site.xml b/src/site/site.xml
index c939d2c..52696ba 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -18,7 +18,7 @@
<project name="Numbers">
<bannerRight>
<name>Apache Commons Numbers</name>
- <src>/images/commons_numbers.small.png</src>
+ <src>/images/math.gif</src>
<href>/index.html</href>
</bannerRight>