This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new e7c3a44f99 [pom] disable paimon-iceberg module by default under jdk 8
(#5685)
e7c3a44f99 is described below
commit e7c3a44f99b8994562d27095ce0d8194b6d41904
Author: LsomeYeah <[email protected]>
AuthorDate: Tue Jun 3 11:12:59 2025 +0800
[pom] disable paimon-iceberg module by default under jdk 8 (#5685)
---
.github/workflows/check-licensing.yml | 2 +-
.github/workflows/utitcase-jdk11.yml | 4 ++--
.github/workflows/utitcase-spark-3.x.yml | 2 +-
.github/workflows/utitcase.yml | 4 ++--
pom.xml | 11 ++++++++++-
5 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/check-licensing.yml
b/.github/workflows/check-licensing.yml
index ab72928779..101d331e90 100644
--- a/.github/workflows/check-licensing.yml
+++ b/.github/workflows/check-licensing.yml
@@ -41,7 +41,7 @@ jobs:
run: |
set -o pipefail
- mvn clean deploy ${{ env.MVN_COMMON_OPTIONS }} -DskipTests -pl
"!paimon-iceberg" \
+ mvn clean deploy ${{ env.MVN_COMMON_OPTIONS }} -DskipTests \
-DaltDeploymentRepository=validation_repository::default::file:${{
env.MVN_VALIDATION_DIR }} \
| tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
diff --git a/.github/workflows/utitcase-jdk11.yml
b/.github/workflows/utitcase-jdk11.yml
index 26105a3b01..4260d34ac5 100644
--- a/.github/workflows/utitcase-jdk11.yml
+++ b/.github/workflows/utitcase-jdk11.yml
@@ -41,7 +41,7 @@ jobs:
java-version: ${{ env.JDK_VERSION }}
distribution: 'temurin'
- name: Build
- run: mvn -T 1C -B clean install -DskipTests
+ run: mvn -T 1C -B clean install -DskipTests -Pflink1,spark3
- name: Test
run: |
# run tests with random timezone to find out timezone related bugs
@@ -53,6 +53,6 @@ jobs:
test_modules+="!org.apache.paimon:paimon-spark-${suffix},"
done
test_modules="${test_modules%,}"
- mvn -T 1C -B clean install -pl "${test_modules}"
-Pskip-paimon-flink-tests -Duser.timezone=$jvm_timezone
+ mvn -T 1C -B clean install -pl "${test_modules}" -Pflink1,spark3
-Pskip-paimon-flink-tests -Duser.timezone=$jvm_timezone
env:
MAVEN_OPTS: -Xmx4096m
\ No newline at end of file
diff --git a/.github/workflows/utitcase-spark-3.x.yml
b/.github/workflows/utitcase-spark-3.x.yml
index 06ca1d88d0..d06554108a 100644
--- a/.github/workflows/utitcase-spark-3.x.yml
+++ b/.github/workflows/utitcase-spark-3.x.yml
@@ -45,7 +45,7 @@ jobs:
java-version: ${{ env.JDK_VERSION }}
distribution: 'temurin'
- name: Build Spark
- run: mvn -T 2C -B clean install -DskipTests -pl "!paimon-iceberg"
+ run: mvn -T 2C -B clean install -DskipTests
- name: Test Spark
timeout-minutes: 60
run: |
diff --git a/.github/workflows/utitcase.yml b/.github/workflows/utitcase.yml
index 1a1f927806..012e6a68c8 100644
--- a/.github/workflows/utitcase.yml
+++ b/.github/workflows/utitcase.yml
@@ -49,7 +49,7 @@ jobs:
- name: Build Others
run: |
echo "Start compiling modules"
- mvn -T 2C -B clean install -DskipTests -Pflink1,spark3 -pl
"!paimon-iceberg"
+ mvn -T 2C -B clean install -DskipTests -Pflink1,spark3
- name: Test Others
timeout-minutes: 60
@@ -58,7 +58,7 @@ jobs:
jvm_timezone=$(random_timezone)
echo "JVM timezone is set to $jvm_timezone"
- TEST_MODULES="!paimon-e2e-tests,!paimon-iceberg,"
+ TEST_MODULES="!paimon-e2e-tests,"
for suffix in 3.5 3.4 3.3 3.2 ut; do
TEST_MODULES+="!org.apache.paimon:paimon-spark-${suffix},"
done
diff --git a/pom.xml b/pom.xml
index da22b98e8c..98d912f7f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -71,7 +71,6 @@ under the License.
<module>tools/ci/paimon-ci-tools</module>
<module>paimon-hudi</module>
<module>paimon-api</module>
- <module>paimon-iceberg</module>
</modules>
<properties>
@@ -455,6 +454,16 @@ under the License.
</property>
</activation>
</profile>
+
+ <profile>
+ <id>paimon-iceberg</id>
+ <modules>
+ <module>paimon-iceberg</module>
+ </modules>
+ <activation>
+ <jdk>11</jdk>
+ </activation>
+ </profile>
</profiles>
<build>