[FLINK-10922] Exclude transitive kafka-clients dependency from base flink-connector-kafka

In order to satisfy dependency convergence we need to exclude the kafka-clients from the base
flink-connector-kafka-x dependency in every flink-connector-kafka-y module.

This closes #7140.
上级 56098684
......@@ -53,6 +53,10 @@ under the License.
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_${scala.binary.version}</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
</exclusion>
</exclusions>
</dependency>
......
......@@ -53,6 +53,10 @@ under the License.
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_${scala.binary.version}</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
</exclusion>
</exclusions>
</dependency>
......
......@@ -60,6 +60,10 @@ under the License.
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_${scala.binary.version}</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
</exclusion>
</exclusions>
</dependency>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册