This is an automated email from the ASF dual-hosted git repository. kunni pushed a commit to branch FLINK-38729-2 in repository https://gitbox.apache.org/repos/asf/flink-cdc.git
commit 60acff8c086b04e1b1f28fde2395537b79aa52cb Author: lvyanquan <[email protected]> AuthorDate: Tue Mar 10 02:01:28 2026 +0800 Add flink-cdc-flink2.2-compat module. --- flink-cdc-common/pom.xml | 12 ++++++++++++ flink-cdc-composer/pom.xml | 10 ---------- flink-cdc-runtime/pom.xml | 12 ++++++++++++ 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/flink-cdc-common/pom.xml b/flink-cdc-common/pom.xml index 8721e620e..4101ad51b 100644 --- a/flink-cdc-common/pom.xml +++ b/flink-cdc-common/pom.xml @@ -50,6 +50,18 @@ limitations under the License. <properties> <flink.version>${flink.2.x.version}</flink.version> </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + </plugin> + </plugins> + </build> <dependencies> <dependency> <groupId>org.apache.flink</groupId> diff --git a/flink-cdc-composer/pom.xml b/flink-cdc-composer/pom.xml index ef3040f49..7d0244e6a 100644 --- a/flink-cdc-composer/pom.xml +++ b/flink-cdc-composer/pom.xml @@ -104,16 +104,6 @@ limitations under the License. </properties> <build> <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <testExcludes> - <!-- Sink V2 topology interfaces (WithPreWriteTopology etc.) are removed in Flink 2.x --> - <testExclude>org/apache/flink/cdc/composer/flink/translator/DataSinkTranslatorTest.java</testExclude> - </testExcludes> - </configuration> - </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> diff --git a/flink-cdc-runtime/pom.xml b/flink-cdc-runtime/pom.xml index baac0b6db..2a2072f0b 100644 --- a/flink-cdc-runtime/pom.xml +++ b/flink-cdc-runtime/pom.xml @@ -109,6 +109,18 @@ limitations under the License. <properties> <flink.version>${flink.2.x.version}</flink.version> </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + </plugin> + </plugins> + </build> <dependencies> <dependency> <groupId>org.apache.flink</groupId>
