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
The following commit(s) were added to refs/heads/master by this push:
new 0aea7383 Ignore javadoc warnings in the JPMS example project
0aea7383 is described below
commit 0aea7383e99fea3ac3de07d38f94d20e5af45c07
Author: Alex Herbert <[email protected]>
AuthorDate: Tue Jun 25 15:30:33 2024 +0100
Ignore javadoc warnings in the JPMS example project
This is a workaround for JDK 17 javadoc which will fail the build due to
packages in the unnamed module.
---
commons-rng-examples/examples-jpms/pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/commons-rng-examples/examples-jpms/pom.xml
b/commons-rng-examples/examples-jpms/pom.xml
index 48f9be9b..24b421a9 100644
--- a/commons-rng-examples/examples-jpms/pom.xml
+++ b/commons-rng-examples/examples-jpms/pom.xml
@@ -52,6 +52,9 @@
<configuration>
<!-- Reset API links since these refer to java 1.6 and 1.7 -->
<links combine.self="override" />
+ <!-- JDK 17 issues warning about using modules but packages in the
client API are in
+ the unnamed module. -->
+ <failOnWarnings>false</failOnWarnings>
</configuration>
</plugin>
</plugins>
@@ -64,6 +67,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links combine.self="override" />
+ <failOnWarnings>false</failOnWarnings>
</configuration>
</plugin>
</plugins>