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-statistics.git

commit d8cdd8d7ad8cf15592c2946d56739c47964330b2
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Sat Jun 25 10:01:46 2022 +0100

    Fail javadoc on warnings
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index d7850b0..105fd8c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -476,6 +476,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
+          <failOnWarnings>true</failOnWarnings>
           <additionalOptions>${doclint.javadoc.qualifier} 
${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" 
async src="${statistics.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
         </configuration>
       </plugin>

Reply via email to