This is an automated email from the ASF dual-hosted git repository.

arvid pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.13 by this push:
     new fdc0915  [FLINK-22964][connector/common] Exclude flink-core from 
connector-common dependencies.
fdc0915 is described below

commit fdc09154d5f4bb4c618da0e0f224ded4a807916f
Author: Arvid Heise <[email protected]>
AuthorDate: Tue Jun 29 15:00:32 2021 +0200

    [FLINK-22964][connector/common] Exclude flink-core from connector-common 
dependencies.
    
    Connectors get shaded into the user jar and as such should contain no 
unnecessary dependencies to flink. However, connector-base is exposing 
`flink-core` which then by default gets shaded into the user jar. Except for 
6MB of extra size, the dependency also causes class loading issues, when 
`classloader.parent-first-patterns` does not include `o.a.f`.
---
 flink-connectors/flink-connector-base/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/flink-connectors/flink-connector-base/pom.xml 
b/flink-connectors/flink-connector-base/pom.xml
index d055cd2..92a17ab 100644
--- a/flink-connectors/flink-connector-base/pom.xml
+++ b/flink-connectors/flink-connector-base/pom.xml
@@ -40,6 +40,7 @@
                        <groupId>org.apache.flink</groupId>
                        <artifactId>flink-core</artifactId>
                        <version>${project.version}</version>
+                       <scope>provided</scope>
                </dependency>
 
                <!-- test dependency -->

Reply via email to