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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new adc45078f ORC-1914: Ensure `Annotation Processing` in `core` module 
compilation
adc45078f is described below

commit adc45078f82749316be843bc0e36616a172c54f4
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jun 9 19:39:44 2025 -0700

    ORC-1914: Ensure `Annotation Processing` in `core` module compilation
    
    ### What changes were proposed in this pull request?
    
    This PR aims to ensure `Annotation Processing` in `core` module compilation.
    
    ### Why are the changes needed?
    
    Since JDK 23, `Annotation Processing` is disabled.
    - [JDK 23: Changes Default Annotation Processing 
Policy](https://inside.java/2024/06/18/quality-heads-up/)
    
    ### How was this patch tested?
    
    Manual review since we didn't add JDK23+ CI yet.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #2262 from dongjoon-hyun/ORC-1914.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 63541a231b9c7317c755b675dd3ec10541735c0d)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 java/core/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/java/core/pom.xml b/java/core/pom.xml
index 352300e8e..952bcfeb5 100644
--- a/java/core/pom.xml
+++ b/java/core/pom.xml
@@ -139,6 +139,11 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <compilerArgs>
+            <arg>-proc:full</arg>
+          </compilerArgs>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

Reply via email to