|
118 | 118 | <commons.release.isDistModule>true</commons.release.isDistModule> |
119 | 119 | <!-- project.build.outputTimestamp is managed by Maven plugins, see https://maven.apache.org/guides/mini/guide-reproducible-builds.html --> |
120 | 120 | <project.build.outputTimestamp>2024-12-18T21:13:07Z</project.build.outputTimestamp> |
| 121 | + <!-- MathJax configuration. See the maven-javadoc-plugin plugin. --> |
| 122 | + <mathjax.url>https://commons.apache.org/js/mathjax/tex-mml-chtml.js</mathjax.url> |
121 | 123 | <!-- JaCoCo: Don't make code coverage worse than: --> |
122 | 124 | <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure> |
123 | 125 | <commons.jacoco.classRatio>0.96</commons.jacoco.classRatio> |
|
127 | 129 | <commons.jacoco.lineRatio>0.85</commons.jacoco.lineRatio> |
128 | 130 | <commons.jacoco.complexityRatio>0.78</commons.jacoco.complexityRatio> |
129 | 131 | <doxia.module.markdown.version>2.0.0</doxia.module.markdown.version> |
130 | | - <math.mathjax.version>2.7.9</math.mathjax.version> |
131 | 132 | <commons.easymock.version>5.5.0</commons.easymock.version> |
132 | 133 | <!-- PMD 7.9.0 throws java.io.IOException: Stream closed probably because PMD is shadding ASM. --> |
133 | 134 | <commons.pmd-impl.version>7.8.0</commons.pmd-impl.version> |
|
223 | 224 | </configuration> |
224 | 225 | </plugin> |
225 | 226 | <plugin> |
| 227 | + <!-- NOTE: javadoc config must also be set under <reporting> --> |
226 | 228 | <groupId>org.apache.maven.plugins</groupId> |
227 | 229 | <artifactId>maven-javadoc-plugin</artifactId> |
228 | 230 | <configuration> |
229 | | - <source>8</source> |
230 | | - <!-- TODO --> |
231 | | - <failOnWarnings>false</failOnWarnings> |
232 | | - <!-- Enable MathJax --> |
233 | | - <additionalOptions>-Xdoclint:all --allow-script-in-comments -header '<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${math.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalOptions> |
| 231 | + <source>8</source> |
| 232 | + <!-- TODO --> |
| 233 | + <failOnWarnings>false</failOnWarnings> |
| 234 | + <!-- Enable MathJax --> |
| 235 | + <additionalOptions>-Xdoclint:all --allow-script-in-comments -header '<script type="text/javascript" async src="${mathjax.url}"></script>'</additionalOptions> |
234 | 236 | </configuration> |
235 | 237 | </plugin> |
236 | 238 | <plugin> |
|
315 | 317 | <groupId>org.apache.maven.plugins</groupId> |
316 | 318 | <artifactId>maven-pmd-plugin</artifactId> |
317 | 319 | </plugin> |
| 320 | + <plugin> |
| 321 | + <!-- NOTE: javadoc config must also be set under <build> --> |
| 322 | + <groupId>org.apache.maven.plugins</groupId> |
| 323 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 324 | + <configuration> |
| 325 | + <source>8</source> |
| 326 | + <!-- TODO --> |
| 327 | + <failOnWarnings>false</failOnWarnings> |
| 328 | + <!-- Enable MathJax --> |
| 329 | + <additionalOptions>-Xdoclint:all --allow-script-in-comments -header '<script type="text/javascript" async src="${mathjax.url}"></script>'</additionalOptions> |
| 330 | + </configuration> |
| 331 | + </plugin> |
318 | 332 | </plugins> |
319 | 333 | </reporting> |
320 | 334 | <profiles> |
|
0 commit comments