From daceb42168238189a3fc247f5e377c5737a339f1 Mon Sep 17 00:00:00 2001 From: Qingsheng Ren Date: Tue, 5 Dec 2023 17:19:31 +0800 Subject: [PATCH] [build] Use ${project.version} instead of ${revision} for dependency version This is documented in https://maven.apache.org/maven-ci-friendly.html#dependencies --- flink-cdc-cli/pom.xml | 4 ++-- flink-cdc-composer/pom.xml | 6 +++--- .../flink-cdc-pipeline-connector-doris/pom.xml | 2 +- .../flink-cdc-pipeline-connector-starrocks/pom.xml | 2 +- flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml | 4 ++-- flink-cdc-dist/pom.xml | 8 ++++---- flink-cdc-runtime/pom.xml | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/flink-cdc-cli/pom.xml b/flink-cdc-cli/pom.xml index a93680f19..f496e471c 100644 --- a/flink-cdc-cli/pom.xml +++ b/flink-cdc-cli/pom.xml @@ -33,13 +33,13 @@ under the License. com.ververica flink-cdc-common - ${revision} + ${project.version} com.ververica flink-cdc-composer - ${revision} + ${project.version} diff --git a/flink-cdc-composer/pom.xml b/flink-cdc-composer/pom.xml index f364cf3d4..4666b7be5 100644 --- a/flink-cdc-composer/pom.xml +++ b/flink-cdc-composer/pom.xml @@ -29,17 +29,17 @@ under the License. com.ververica flink-cdc-common - ${revision} + ${project.version} com.ververica flink-cdc-runtime - ${revision} + ${project.version} com.ververica flink-cdc-pipeline-connector-values - ${revision} + ${project.version} test diff --git a/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-doris/pom.xml b/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-doris/pom.xml index f6240e3e3..c00beec91 100644 --- a/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-doris/pom.xml +++ b/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-doris/pom.xml @@ -28,7 +28,7 @@ under the License. com.ververica flink-cdc-composer - ${revision} + ${project.version} test diff --git a/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-starrocks/pom.xml b/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-starrocks/pom.xml index 06c9fd8de..4f5a10cc6 100644 --- a/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-starrocks/pom.xml +++ b/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-starrocks/pom.xml @@ -48,7 +48,7 @@ under the License. com.ververica flink-cdc-composer - ${revision} + ${project.version} diff --git a/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml b/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml index 211013676..4a6e9d2cf 100644 --- a/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml +++ b/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml @@ -36,14 +36,14 @@ under the License. com.ververica flink-cdc-common - ${revision} + ${project.version} provided com.ververica flink-cdc-runtime - ${revision} + ${project.version} provided diff --git a/flink-cdc-dist/pom.xml b/flink-cdc-dist/pom.xml index c7e4424ad..13f4169f0 100644 --- a/flink-cdc-dist/pom.xml +++ b/flink-cdc-dist/pom.xml @@ -33,22 +33,22 @@ under the License. com.ververica flink-cdc-common - ${revision} + ${project.version} com.ververica flink-cdc-runtime - ${revision} + ${project.version} com.ververica flink-cdc-cli - ${revision} + ${project.version} com.ververica flink-cdc-composer - ${revision} + ${project.version} diff --git a/flink-cdc-runtime/pom.xml b/flink-cdc-runtime/pom.xml index 7d28ade88..940525e5d 100644 --- a/flink-cdc-runtime/pom.xml +++ b/flink-cdc-runtime/pom.xml @@ -35,12 +35,12 @@ under the License. com.ververica flink-cdc-common - ${revision} + ${project.version} com.ververica flink-cdc-common - ${revision} + ${project.version} test test-jar