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

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


The following commit(s) were added to refs/heads/branch-1.9 by this push:
     new 190c55fd6 ORC-1502: Upgrade Maven to 3.9.4
190c55fd6 is described below

commit 190c55fd6a0fc594bfb544734337db5ad4285692
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Sep 11 11:38:44 2023 -0700

    ORC-1502: Upgrade Maven to 3.9.4
    
    This PR aims to upgrade Maven to 3.9.4.
    
    Apache Maven community starts to test Java 20 officially. Although this is 
only about a test coverage, we had better adopt it because 3.8.x is not tested 
officially by Apache Maven community.
    - https://issues.apache.org/jira/browse/MNG-7743
    - https://github.com/apache/maven/pull/1065
    
    Here are the release notes.
    - https://maven.apache.org/docs/3.9.0/release-notes.html
    - https://maven.apache.org/docs/3.9.1/release-notes.html
    - https://maven.apache.org/docs/3.9.2/release-notes.html
    - https://maven.apache.org/docs/3.9.3/release-notes.html
    - https://maven.apache.org/docs/3.9.4/release-notes.html
    
    Pass the CIs with Java 21 EA build
    
    Closes #1612 from dongjoon-hyun/ORC-1502.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 20345a2ac1ddb88934b332048b99734a10e62785)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml | 4 ++--
 java/pom.xml                         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index afc47abb3..0b4d73512 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -148,8 +148,8 @@ jobs:
       run: |
         mkdir -p ~/.m2
         cd java
-        mvn install -DskipTests
-        mvn javadoc:javadoc
+        ./mvnw install -DskipTests
+        ./mvnw javadoc:javadoc
 
   formatting-check:
     name: "C++ format check"
diff --git a/java/pom.xml b/java/pom.xml
index af17fad38..ad7d496c9 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -70,7 +70,7 @@
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
     
<maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
-    <maven.version>3.8.6</maven.version>
+    <maven.version>3.9.4</maven.version>
 
     <min.hadoop.version>2.7.3</min.hadoop.version>
     <mockito.version>4.11.0</mockito.version>

Reply via email to