[build] Use ${project.version} instead of ${revision} for dependency version

This is documented in https://maven.apache.org/maven-ci-friendly.html#dependencies
pull/2822/head
Qingsheng Ren 1 year ago committed by Leonard Xu
parent c0ee1c188e
commit daceb42168

@ -33,13 +33,13 @@ under the License.
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-common</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-composer</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
<dependency>

@ -29,17 +29,17 @@ under the License.
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-common</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-runtime</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-pipeline-connector-values</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>

@ -28,7 +28,7 @@ under the License.
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-composer</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

@ -48,7 +48,7 @@ under the License.
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-composer</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
</dependencies>

@ -36,14 +36,14 @@ under the License.
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-common</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-runtime</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

@ -33,22 +33,22 @@ under the License.
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-common</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-runtime</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-cli</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-composer</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
</dependencies>

@ -35,12 +35,12 @@ under the License.
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-common</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-cdc-common</artifactId>
<version>${revision}</version>
<version>${project.version}</version>
<scope>test</scope>
<type>test-jar</type>
</dependency>

Loading…
Cancel
Save