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

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fury.git


The following commit(s) were added to refs/heads/main by this push:
     new d8a5c7eb chore(java): jdk 24 build support (#2224)
d8a5c7eb is described below

commit d8a5c7eb2300cd1081105574e47edc3821dd8779
Author: Steven Schlansker <[email protected]>
AuthorDate: Tue May 13 09:28:43 2025 -0700

    chore(java): jdk 24 build support (#2224)
    
    ## What does this PR do?
    
    Explicitly enable annotation processing for Lombok jdk 24 support
    
    ## Does this PR introduce any user-facing change?
    
    No
    
    
    Recent JDK versions require opting in to annotation processing.
    
    ---------
    
    Co-authored-by: Shawn Yang <[email protected]>
---
 .github/workflows/ci.yml |  2 +-
 ci/run_ci.sh             |  3 +++
 java/pom.xml             | 15 ++++++++++++---
 3 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cfc671ec..c3d643f6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -46,7 +46,7 @@ jobs:
       MY_VAR: "PATH"
     strategy:
       matrix:
-        java-version: ["8", "11", "17", "21"]
+        java-version: ["8", "11", "17", "21", "24"]
     steps:
       - uses: actions/checkout@v4
       - name: Set up JDK ${{ matrix.java-version }}
diff --git a/ci/run_ci.sh b/ci/run_ci.sh
index ab4b9480..6176a4a5 100755
--- a/ci/run_ci.sh
+++ b/ci/run_ci.sh
@@ -216,6 +216,9 @@ case $1 in
     java21)
       jdk17_plus_tests
     ;;
+    java24)
+      jdk17_plus_tests
+    ;;
     kotlin)
       kotlin_tests
     ;;
diff --git a/java/pom.xml b/java/pom.xml
index 2befdd39..721bba50 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -85,6 +85,7 @@
     <commons_codec.version>1.13</commons_codec.version>
     <fury.java.rootdir>${basedir}</fury.java.rootdir>
     <maven-spotless-plugin.version>2.41.1</maven-spotless-plugin.version>
+    <lombok.version>1.18.38</lombok.version>
   </properties>
 
   <dependencyManagement>
@@ -132,7 +133,7 @@
       <dependency>
         <groupId>org.projectlombok</groupId>
         <artifactId>lombok</artifactId>
-        <version>1.18.30</version>
+        <version>${lombok.version}</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
@@ -143,7 +144,16 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.10.1</version>
+          <version>3.14.0</version>
+          <configuration>
+            <annotationProcessorPaths>
+              <path>
+                <groupId>org.projectlombok</groupId>
+                <artifactId>lombok</artifactId>
+                <version>${lombok.version}</version>
+              </path>
+            </annotationProcessorPaths>
+          </configuration>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -207,7 +217,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.3</version>
         <configuration>
           <source>${maven.compiler.source}</source>
           <target>${maven.compiler.target}</target>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to