wangxlong opened a new pull request #13693:
URL: https://github.com/apache/flink/pull/13693
## What is the purpose of the change
Fix the banned dependencies failed for 'flink-sql-connector-hive-2.3.6'.
The error message,
` Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with
message:
Found Banned Dependency: org.apache.kafka:kafka_2.10:jar:0.10.2.0
Use 'mvn dependency:tree' to locate the source of the banned dependencies.`
For root pom has a rule as follow,
`<bannedDependencies>
<excludes combine.children="append">
<exclude>*:*_2.12</exclude>
<exclude>*:*_2.10</exclude>
</excludes>
</bannedDependencies>`
## Brief change log
Exclude dependency,
`
<exclusion>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.10</artifactId>
</exclusion>
`
## Verifying this change
After excluding, build correctly locally
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]