diff --git a/build.gradle b/build.gradle index 3d2f8604a3..01beb47a7b 100644 --- a/build.gradle +++ b/build.gradle @@ -450,7 +450,8 @@ tasks.register('checkDeniedLicense') { "GPL-1.0", "GPL-2.0", "GPL-3.0", "AGPL-3.0", "LGPL-2.0", "LGPL-2.1", "LGPL-3.0", "GPL-1.0-only", "GPL-2.0-only", "GPL-3.0-only", "AGPL-3.0-only", "LGPL-2.0-only", "LGPL-2.1-only", "LGPL-3.0-only", "QPL-1.0", "Sleepycat", "SSPL-1.0", "CPOL-1.02", - "BSD-4-Clause", "BSD-4-Clause-UC", "NPL-1.0", "NPL-1.1", "JSON" + "BSD-4-Clause", "BSD-4-Clause-UC", "NPL-1.0", "NPL-1.1", "JSON", + "The GNU General Public License, v2 with Universal FOSS Exception, v1.0" ] // Update exemptions according to https://github.com/apache/eventmesh/issues/4842 def allowedArtifacts = ["amqp-client", "stax-api", "javassist", "ST4", "xsdlib", "jsqlparser"] diff --git a/eventmesh-admin-server/build.gradle b/eventmesh-admin-server/build.gradle index 6de881725a..bdb6406da2 100644 --- a/eventmesh-admin-server/build.gradle +++ b/eventmesh-admin-server/build.gradle @@ -36,7 +36,7 @@ dependencies { // https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter implementation "com.alibaba:druid-spring-boot-starter" - implementation 'com.mysql:mysql-connector-j' + compileOnly 'com.mysql:mysql-connector-j' compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' } diff --git a/eventmesh-connectors/eventmesh-connector-canal/build.gradle b/eventmesh-connectors/eventmesh-connector-canal/build.gradle index 134af8ed3e..6beeac41eb 100644 --- a/eventmesh-connectors/eventmesh-connector-canal/build.gradle +++ b/eventmesh-connectors/eventmesh-connector-canal/build.gradle @@ -27,7 +27,7 @@ dependencies { implementation project(":eventmesh-common") implementation canal implementation "com.alibaba:druid" - implementation 'com.mysql:mysql-connector-j' + compileOnly 'com.mysql:mysql-connector-j' compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' testImplementation "org.mockito:mockito-core"