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:01:56 UTC

[commons-statistics] 01/02: 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-statistics.git

commit 1e84e906bbd237017154e9a26be92a08900c4320
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Jun 25 09:56:20 2022 +0100

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

diff --git a/pom.xml b/pom.xml
index d947841..d7850b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -345,6 +345,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>