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

jark pushed a commit to branch ci-flink-2.1
in repository https://gitbox.apache.org/repos/asf/fluss.git


The following commit(s) were added to refs/heads/ci-flink-2.1 by this push:
     new 665049431 fix
665049431 is described below

commit 66504943148907edbcdd5b167c3ecdaf56108549
Author: Jark Wu <[email protected]>
AuthorDate: Sat Aug 23 16:50:59 2025 +0800

    fix
---
 fluss-flink/fluss-flink-2.1/pom.xml | 48 +++++++++++++++++++++++++++++++++++++
 pom.xml                             |  2 ++
 2 files changed, 50 insertions(+)

diff --git a/fluss-flink/fluss-flink-2.1/pom.xml 
b/fluss-flink/fluss-flink-2.1/pom.xml
index a2edf1654..b57f36bed 100644
--- a/fluss-flink/fluss-flink-2.1/pom.xml
+++ b/fluss-flink/fluss-flink-2.1/pom.xml
@@ -152,6 +152,54 @@
 
     <build>
         <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <skip>${skip.on.java8}</skip>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>3.0.0-M5</version>
+                <executions>
+                    <!-- Test end with ITCase is e2e test in this module   -->
+                    <execution>
+                        <id>integration-tests</id>
+                        <phase>integration-test</phase>
+                        <inherited>false</inherited>
+                        <goals>
+                            <goal>test</goal>
+                        </goals>
+                        <configuration>
+                            <skip>${skip.on.java8}</skip>
+                            <includes>
+                                <include>**/*ITCase.*</include>
+                            </includes>
+                            <!-- e2e test with flink/zookeeper cluster, we set 
forkCount=1 -->
+                            <forkCount>1</forkCount>
+                        </configuration>
+                    </execution>
+                    <!-- others unit tests -->
+                    <execution>
+                        <id>default-test</id>
+                        <phase>test</phase>
+                        <inherited>false</inherited>
+                        <goals>
+                            <goal>test</goal>
+                        </goals>
+                        <configuration>
+                            <skip>${skip.on.java8}</skip>
+                            <excludes>
+                                <exclude>**/*ITCase.*</exclude>
+                            </excludes>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-shade-plugin</artifactId>
diff --git a/pom.xml b/pom.xml
index c89eadd43..c91242dfc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,6 +89,7 @@
         <test.skip.coverage>true</test.skip.coverage>
         <fluss.forkCount>2</fluss.forkCount>
         <fluss.reuseForks>true</fluss.reuseForks>
+        <skip.on.java8>false</skip.on.java8>
 
         <!-- library versions in fluss-shaded -->
         <fluss.shaded.version>2.2</fluss.shaded.version>
@@ -448,6 +449,7 @@
             <id>java8</id>
             <properties>
                 <target.java.version>1.8</target.java.version>
+                <skip.on.java8>true</skip.on.java8>
             </properties>
             <build>
                 <plugins>

Reply via email to