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


The following commit(s) were added to refs/heads/master by this push:
     new 62d577586 Ignore lack of comments in the LocalizedFormats class on JDK 
17
62d577586 is described below

commit 62d577586310eea0277876ab0c20c9c6e0fe451b
Author: aherbert <aherb...@apache.org>
AuthorDate: Thu Sep 21 14:26:52 2023 +0100

    Ignore lack of comments in the LocalizedFormats class on JDK 17
---
 commons-math-legacy-exception/pom.xml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/commons-math-legacy-exception/pom.xml 
b/commons-math-legacy-exception/pom.xml
index ef5041c77..985b920ba 100644
--- a/commons-math-legacy-exception/pom.xml
+++ b/commons-math-legacy-exception/pom.xml
@@ -51,4 +51,34 @@
 
   </dependencies>
 
+  <profiles>
+    <!-- Ignore lack of comments in the LocalizedFormats class -->
+    <profile>
+      <id>jdk17-javadoc</id>
+      <activation>
+        <jdk>[17</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <configuration>
+              <failOnWarnings>false</failOnWarnings>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+      <reporting>
+        <plugins>
+          <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <configuration>
+              <failOnWarnings>false</failOnWarnings>
+            </configuration>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+  </profiles>
+
 </project>

Reply via email to