This is an automated email from the ASF dual-hosted git repository.
MartijnVisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-jdbc.git
The following commit(s) were added to refs/heads/main by this push:
new 7463ae11 [FLINK-41230][build] Declare flink-connector-base as provided
7463ae11 is described below
commit 7463ae11bfdf6db5ed3ccc897a8b9ad348a503c0
Author: Martijn Visser <[email protected]>
AuthorDate: Mon Oct 26 22:08:59 2026 +0100
[FLINK-41230][build] Declare flink-connector-base as provided
The root pom declared flink-connector-base without a scope, so every
dialect module depended on it at compile scope. Only the core module
overrode it to provided. flink-dist ships flink-connector-base, so a
connector should not bring it in itself.
Generated-by: Claude Code (Claude Opus 5.5)
---
pom.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pom.xml b/pom.xml
index 41c8dea1..a57816cb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,9 +83,11 @@ under the License.
<!-- Root dependencies for all projects -->
+ <!-- Part of flink-dist, so the connector must not bring it in itself
-->
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-base</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>