Skip to content

Commit e780a7c

Browse files
authored
[FLINK-39760][postgres] Fix missing JTS core dependency of PostgreSQL YAML connector (#4467)
1 parent 0e07178 commit e780a7c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-postgres/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ limitations under the License.
2929
<artifactId>flink-cdc-pipeline-connector-postgres</artifactId>
3030

3131
<properties>
32+
<jts.version>1.19.0</jts.version>
3233
</properties>
3334

3435
<dependencies>
@@ -39,6 +40,12 @@ limitations under the License.
3940
<version>${project.version}</version>
4041
</dependency>
4142

43+
<dependency>
44+
<groupId>org.locationtech.jts</groupId>
45+
<artifactId>jts-core</artifactId>
46+
<version>${jts.version}</version>
47+
</dependency>
48+
4249
<dependency>
4350
<groupId>org.apache.flink</groupId>
4451
<artifactId>flink-connector-postgres-cdc</artifactId>
@@ -181,6 +188,7 @@ limitations under the License.
181188
<include>com.google.guava:*</include>
182189
<include>org.apache.kafka:*</include>
183190
<include>org.postgresql:postgresql</include>
191+
<include>org.locationtech.jts:jts-core</include>
184192
<include>com.fasterxml.*:*</include>
185193
<!-- Include fixed version 30.1.1-jre-14.0 of flink shaded guava -->
186194
<include>org.apache.flink:flink-shaded-guava</include>
@@ -239,4 +247,4 @@ limitations under the License.
239247
</plugin>
240248
</plugins>
241249
</build>
242-
</project>
250+
</project>

0 commit comments

Comments
 (0)