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

gosonzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c31149f2 [INLONG-4390][Sort] Exclude mysql:mysql-connector-java:jar 
package (#4391)
7c31149f2 is described below

commit 7c31149f20f548bf840f5fcac9fc3021bee825ab
Author: ganfengtan <[email protected]>
AuthorDate: Thu May 26 18:46:23 2022 +0800

    [INLONG-4390][Sort] Exclude mysql:mysql-connector-java:jar package (#4391)
---
 .../inlong/sort/protocol/node/load/TDSQLPostgresLoadNode.java    | 9 +++++----
 pom.xml                                                          | 7 +++++++
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git 
a/inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/TDSQLPostgresLoadNode.java
 
b/inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/TDSQLPostgresLoadNode.java
index bd2e3960e..e0864dba1 100644
--- 
a/inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/TDSQLPostgresLoadNode.java
+++ 
b/inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/TDSQLPostgresLoadNode.java
@@ -38,10 +38,11 @@ import java.util.Map;
 
 /**
  * TDSQLPostgres load node can load data into TDSQL Postgres
- * @see <a herf="https://cloud.tencent.com/product/tbase";>TDSQL Postgres</a>
- * TDSQL Postgres is an enterprise-level distributed HTAP database. Through a 
single database cluster to provide
- * users with highly consistent distributed database services and 
high-performance data warehouse services,
- * a set of integrated enterprise-level solutions is formed.
+ *
+ * @see <a href="https://cloud.tencent.com/product/tbase";>TDSQL Postgres</a>
+ *         TDSQL Postgres is an enterprise-level distributed HTAP database. 
Through a single database cluster
+ *         to provide users with highly consistent distributed database 
services and high-performance
+ *         data warehouse services, a set of integrated enterprise-level 
solutions is formed.
  */
 @EqualsAndHashCode(callSuper = true)
 @JsonTypeName("tdsqlPostgresLoad")
diff --git a/pom.xml b/pom.xml
index 2e972e676..437024258 100644
--- a/pom.xml
+++ b/pom.xml
@@ -982,6 +982,13 @@
                 <groupId>com.ververica</groupId>
                 <artifactId>flink-connector-mysql-cdc</artifactId>
                 <version>${flink.connector.mysql.cdc.version}</version>
+                <!-- mysql-connector-java is LGPL license and needs to be 
excluded -->
+                <exclusions>
+                    <exclusion>
+                        <groupId>mysql</groupId>
+                        <artifactId>mysql-connector-java</artifactId>
+                    </exclusion>
+                </exclusions>
             </dependency>
 
             <dependency>

Reply via email to