Fail Javadoc on warning

This commit is contained in:
Gary Gregory 2024-10-21 10:38:49 -04:00
parent 877f16140d
commit d121ed3833
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<configuration> <configuration>
<source>8</source> <source>8</source>
<failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax --> <!-- Enable MathJax -->
<additionalOptions>-Xdoclint:all --allow-script-in-comments -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${math.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions> <additionalOptions>-Xdoclint:all --allow-script-in-comments -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${math.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
</configuration> </configuration>