[
https://issues.apache.org/jira/browse/FLINK-41230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser resolved FLINK-41230.
------------------------------------
Fix Version/s: jdbc-5.0.0
Resolution: Fixed
Fixed in apache/flink-connector-jdbc:main
7463ae11bfdf6db5ed3ccc897a8b9ad348a503c0
> Declare flink-connector-base as provided in flink-connector-jdbc
> ----------------------------------------------------------------
>
> Key: FLINK-41230
> URL: https://issues.apache.org/jira/browse/FLINK-41230
> Project: Flink
> Issue Type: Bug
> Components: Connectors / JDBC
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Major
> Labels: pull-request-available
> Fix For: jdbc-5.0.0
>
>
> The root pom declares flink-connector-base without a scope, and so does its
> dependencyManagement entry. Only flink-connector-jdbc-core overrides it to
> provided. Every dialect module therefore depends on it at compile scope:
> {noformat}
> flink-connector-jdbc-oracle:
> org.apache.flink:flink-connector-base:jar:2.1.3:compile
> {noformat}
> The same line appears for cratedb, db2, mysql, oceanbase, postgres, spanner,
> sqlserver and trino.
> flink-dist bundles flink-connector-base (FLINK-25927), so a connector should
> not bring it in itself. Declaring it provided in the root pom drops it from
> the dialects' runtime classpath and published POMs. After the change, none of
> the modules has an org.apache.flink runtime dependency other than
> flink-connector-jdbc-*.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)