You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/06/25 09:02:01 UTC
[commons-rng] 03/03: Fail javadoc on warnings
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit 477814a4190bd847aebb8223bfb76a7dc38ccbaa
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Jun 25 10:01:43 2022 +0100
Fail javadoc on warnings
---
pom.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pom.xml b/pom.xml
index 393954bf..778968c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -369,6 +369,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
+ <failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax -->
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script type="text/javascript" async src="${rng.mathjax.url}"></script>'</additionalOptions>
</configuration>
@@ -503,6 +504,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
+ <failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax -->
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script type="text/javascript" async src="${rng.mathjax.url}"></script>'</additionalOptions>
</configuration>