You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2026/07/17 18:06:38 UTC

(orc) branch main updated: ORC-2211: Use `javadoc.io` links in Maven Javadoc configuration

This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new bed0c371a ORC-2211: Use `javadoc.io` links in Maven Javadoc configuration
bed0c371a is described below

commit bed0c371acaf312380d9d62bda49a9ff65bb7a94
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Fri Jul 17 11:06:31 2026 -0700

    ORC-2211: Use `javadoc.io` links in Maven Javadoc configuration
    
    ### What changes were proposed in this pull request?
    
    This PR aims to use `javadoc.io` links in the Maven Javadoc plugin configuration instead of the removed `orc.apache.org/api` links, and to remove the obsolete `<offlineLinks>` block.
    
    ### Why are the changes needed?
    
    Since the website stopped hosting Javadoc under `orc.apache.org/api` (ORC-2207), the `Javadoc generation` CI job fails on all PRs.
    
    - https://github.com/apache/orc/actions/runs/29601757265/job/87955299789
    
    ```
    [ERROR] error: Error fetching URL: https://orc.apache.org/api/orc-core/ (java.io.FileNotFoundException: https://orc.apache.org/api/orc-core/package-list)
    ```
    
    ### How was this patch tested?
    
    Manually ran the same commands as the `Javadoc generation` CI job and verified `BUILD SUCCESS`.
    
    ```
    cd java
    ./mvnw install -DskipTests
    ./mvnw javadoc:javadoc
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Fable 5
    
    Closes #2697 from dongjoon-hyun/ORC-2211.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 java/pom.xml | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/java/pom.xml b/java/pom.xml
index 12ad272f7..2f6e575bb 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -679,20 +679,10 @@
           <doclint>none</doclint>
           <links>
             <link>https://hadoop.apache.org/docs/r${hadoop.version}/api</link>
-            <link>https://orc.apache.org/api/orc-core</link>
-            <link>https://orc.apache.org/api/orc-mapreduce</link>
-            <link>https://orc.apache.org/api/orc-tools</link>
+            <link>https://javadoc.io/doc/org.apache.orc/orc-core/latest</link>
+            <link>https://javadoc.io/doc/org.apache.orc/orc-mapreduce/latest</link>
+            <link>https://javadoc.io/doc/org.apache.orc/orc-tools/latest</link>
           </links>
-          <offlineLinks>
-            <offlineLink>
-              <url>https://orc.apache.org/api/orc-core</url>
-              <location>${javadoc.location}/api/orc-core</location>
-            </offlineLink>
-            <offlineLink>
-              <url>https://orc.apache.org/api/orc-mapreduce</url>
-              <location>${javadoc.location}/api/orc-mapreduce</location>
-            </offlineLink>
-          </offlineLinks>
           <reportOutputDirectory>${javadoc.location}/api</reportOutputDirectory>
           <notimestamp>true</notimestamp>
         </configuration>