Skip to content

Commit 6627c79

Browse files
committed
Remove logback completely
1 parent c14449d commit 6627c79

File tree

5 files changed

+6
-39
lines changed

5 files changed

+6
-39
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ tasks.register('dist') {
141141
subprojects.forEach { subProject ->
142142
dependsOn("${subProject.path}:jar")
143143
}
144+
dependsOn('generateDistLicense', 'generateDistNotice')
144145
def includedProjects =
145146
["eventmesh-common",
146147
"eventmesh-meta:eventmesh-meta-api",
@@ -254,7 +255,6 @@ cyclonedxBom {
254255
includeConfigs = ["runtimeClasspath"]
255256
}
256257

257-
// TODO depend 'dist' on 'generateDistLicense'
258258
tasks.register('generateDistLicense') {
259259
dependsOn('cyclonedxBom') // Task from 'org.cyclonedx.bom' plugin
260260
doLast {
@@ -326,7 +326,6 @@ tasks.register('generateDistLicense') {
326326
}
327327
}
328328

329-
// TODO depend 'dist' on 'generateDistNotice'
330329
tasks.register('generateDistNotice') {
331330
dependsOn('generateLicenseReport') // Task from 'com.github.jk1.dependency-license-report' plugin
332331
doLast {
@@ -371,6 +370,9 @@ subprojects {
371370
delete 'dist'
372371
}
373372

373+
// Print all dependencies trees, useful for finding artifacts
374+
tasks.register('printAllDependencyTrees', DependencyReportTask) {}
375+
374376
jacoco {
375377
toolVersion = "0.8.6"
376378
}

eventmesh-examples/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ dependencies {
2222
implementation project(":eventmesh-common")
2323
implementation project(":eventmesh-storage-plugin:eventmesh-storage-api")
2424
implementation project(":eventmesh-connectors:eventmesh-connector-spring")
25-
implementation('org.springframework.boot:spring-boot-starter') {
26-
exclude module: 'spring-boot-starter-logging'
25+
implementation('org.springframework.boot:spring-boot-starter-web') {
26+
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
2727
}
28-
implementation 'org.springframework.boot:spring-boot-starter-web'
2928
implementation 'io.netty:netty-all'
3029
implementation "io.cloudevents:cloudevents-core"
3130
implementation "io.cloudevents:cloudevents-json-jackson"

tools/dist-license/LICENSE

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -367,17 +367,11 @@ json-path 2.7.0 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.
367367
json-smart 2.4.7 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
368368
json-utils 2.20.29 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
369369
jsr305 3.0.2 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
370-
jul-to-slf4j 1.7.33 licensed under 'MIT'. For details see: licenses/MIT.txt
371370
kafka-clients 3.0.0 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
372371
listenablefuture 9999.0-empty-to-avoid-conflict-with-guava licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
373372
log4j-api 2.22.1 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
374373
log4j-core 2.22.1 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
375-
log4j-slf4j-impl 2.22.1 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
376374
log4j-slf4j2-impl 2.22.1 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
377-
logback-classic 1.2.10 licensed under 'EPL-1.0'. For details see: licenses/EPL-1.0.txt
378-
logback-classic 1.2.10 licensed under 'GNU Lesser General Public License'. For details see: licenses/GNU Lesser General Public License.txt
379-
logback-core 1.2.10 licensed under 'EPL-1.0'. For details see: licenses/EPL-1.0.txt
380-
logback-core 1.2.10 licensed under 'GNU Lesser General Public License'. For details see: licenses/GNU Lesser General Public License.txt
381375
lz4-java 1.7.1 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
382376
lz4-java 1.8.0 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
383377
metrics-annotation 4.1.0 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
@@ -388,7 +382,6 @@ metrics-spi 2.20.29 licensed under 'Apache-2.0'. For details see: licenses/Apach
388382
mongodb-driver 3.12.11 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
389383
mongodb-driver-core 3.12.11 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
390384
mysql-binlog-connector-java 0.28.0 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
391-
mysql-connector-j 8.0.32 licensed under 'The GNU General Public License, v2 with Universal FOSS Exception, v1.0'. For details see: licenses/The GNU General Public License, v2 with Universal FOSS Exception, v1.0.txt
392385
nacos-auth-plugin 2.2.1 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
393386
nacos-client 2.2.1 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
394387
nacos-encryption-plugin 2.2.1 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
@@ -544,7 +537,6 @@ spring-boot-autoconfigure 2.7.10 licensed under 'Apache-2.0'. For details see: l
544537
spring-boot-starter 2.5.9 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
545538
spring-boot-starter 2.7.10 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
546539
spring-boot-starter-json 2.7.10 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
547-
spring-boot-starter-logging 2.5.9 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
548540
spring-boot-starter-tomcat 2.7.10 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
549541
spring-boot-starter-validation 2.5.9 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt
550542
spring-boot-starter-web 2.7.10 licensed under 'Apache-2.0'. For details see: licenses/Apache-2.0.txt

tools/dist-license/NOTICE

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,19 +1027,6 @@ ResolverUtil.java
10271027
Copyright 2005-2006 Tim Fennell
10281028
=======================================================================
10291029

1030-
log4j-slf4j-impl-2.22.1 NOTICE
1031-
1032-
=======================================================================
1033-
1034-
Apache Log4j SLF4J Binding
1035-
Copyright 1999-2023 The Apache Software Foundation
1036-
1037-
1038-
This product includes software developed at
1039-
The Apache Software Foundation (http://www.apache.org/).
1040-
1041-
=======================================================================
1042-
10431030
log4j-slf4j2-impl-2.22.1 NOTICE
10441031

10451032
=======================================================================
@@ -2085,18 +2072,6 @@ This product is licensed to you under the Apache License, Version 2.0
20852072
the License.
20862073
=======================================================================
20872074

2088-
spring-boot-starter-logging-2.5.9 NOTICE
2089-
2090-
=======================================================================
2091-
2092-
Spring Boot 2.5.9
2093-
Copyright (c) 2012-2022 Pivotal, Inc.
2094-
2095-
This product is licensed to you under the Apache License, Version 2.0
2096-
(the "License"). You may not use this product except in compliance with
2097-
the License.
2098-
=======================================================================
2099-
21002075
spring-boot-starter-tomcat-2.7.10 NOTICE
21012076

21022077
=======================================================================

tools/dist-license/licenses/java/GNU Lesser General Public License.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)