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


The following commit(s) were added to refs/heads/master by this push:
     new 6e08263  Remove javadoc links to JDK.
6e08263 is described below

commit 6e08263d9be0b4433eb357dbad1b60d3460be0c4
Author: Alex Herbert <[email protected]>
AuthorDate: Sat Sep 24 22:20:11 2022 +0100

    Remove javadoc links to JDK.
    
    The links configured in CP create redirect warnings on JDK 17 which fail
    the build. JDK links are automatically added by the javadoc plugin based
    on the target version.
---
 pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pom.xml b/pom.xml
index aeca595..384f0ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -344,6 +344,10 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
+          <!-- Java API links configured in commons-parent create redirect 
warnings on JDK 17
+            and fail the build. The links are not required as 
detectJavaApiLink=true (default). -->
+          <links combine.self="override">
+          </links>
           <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>

Reply via email to