Simple fix to add --allow-script-in-comments for Javadoc8+
This commit is contained in:
parent
52ddc9d353
commit
cdf22ce631
15
pom.xml
15
pom.xml
|
@ -462,6 +462,9 @@
|
|||
<!-- JMH Benchmark related properties, version, target compiler and name of the benchmarking uber jar. -->
|
||||
<jmh.version>1.13</jmh.version>
|
||||
<uberjar.name>benchmarks</uberjar.name>
|
||||
<!-- MathJax requires additional Javadoc qualifier for Java8+ -->
|
||||
<!-- default to empty for earlier versions of Java -->
|
||||
<mathjax.javadoc.qualifier></mathjax.javadoc.qualifier>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
@ -587,7 +590,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalparam>--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>
|
||||
<additionalparam>${mathjax.javadoc.qualifier} -header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
@ -738,7 +741,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalparam>--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>
|
||||
<additionalparam>${mathjax.javadoc.qualifier} -header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
@ -935,5 +938,13 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>mathjax-java8</id>
|
||||
<activation><jdk>[1.8,)</jdk></activation>
|
||||
<properties>
|
||||
<!-- MathJax requires additional Javadoc qualifier for Java8+ -->
|
||||
<mathjax.javadoc.qualifier>--allow-script-in-comments</mathjax.javadoc.qualifier>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue