You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uniffle.apache.org by ro...@apache.org on 2023/03/16 01:40:37 UTC

[incubator-uniffle] branch master updated: [MINOR] chore(ci): test compile with java.version 11 and 17 (#728)

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

roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new ef0f2dc5 [MINOR] chore(ci): test compile with java.version 11 and 17 (#728)
ef0f2dc5 is described below

commit ef0f2dc59ac3302fc8d836c53d2200f6e9b3db25
Author: Kaijie Chen <ck...@apache.org>
AuthorDate: Thu Mar 16 09:40:32 2023 +0800

    [MINOR] chore(ci): test compile with java.version 11 and 17 (#728)
    
    
    ### What changes were proposed in this pull request?
    
    Bump `maven-shade-plugin` to `3.4.1`.
    Test compile with `java.version` set to `11` and `17` in CI.
    
    ### Why are the changes needed?
    
    Test build in java 11 and java 17.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manually.
---
 .github/workflows/build.yml | 6 +++---
 pom.xml                     | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6d12d3b6..be4a7da2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -52,7 +52,7 @@ jobs:
     name: 'compile'
     uses: ./.github/workflows/sequential.yml
     with:
-      maven-args: package -DskipTests
+      maven-args: package -DskipTests -Djava.version=11
       cache-key: package
       java-version: '11'
 
@@ -61,7 +61,7 @@ jobs:
     name: 'compile'
     uses: ./.github/workflows/sequential.yml
     with:
-      maven-args: package -DskipTests
+      maven-args: package -DskipTests -Djava.version=17
       cache-key: package
       java-version: '17'
 
@@ -84,4 +84,4 @@ jobs:
     with:
       maven-args: package -Pkubernetes -DskipUTs -DskipITs -DskipBuildImage=${{ needs.changes.outputs.rss_server_docker == 'false' }}
       cache-key: package
-      go-version: '1.17'
\ No newline at end of file
+      go-version: '1.17'
diff --git a/pom.xml b/pom.xml
index d6cd21ad..1eb0d569 100644
--- a/pom.xml
+++ b/pom.xml
@@ -710,7 +710,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-shade-plugin</artifactId>
-          <version>3.2.4</version>
+          <version>3.4.1</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>