Skip to content

Commit 881893d

Browse files
committed
Remove debezium-bom import
The `debezium-bom` manages too many third-party deps which causes an enforcement for our transitive deps where it is not always true to use old versions * Exclude `group: 'io.netty'` for `artemis-stomp-protocol` to avoid possible Netty version override expected by `reactor-netty-http`
1 parent a7d9def commit 881893d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

build.gradle

+3-5
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ allprojects {
157157

158158
imports {
159159
mavenBom "com.fasterxml.jackson:jackson-bom:$jacksonVersion"
160-
mavenBom "io.debezium:debezium-bom:$debeziumVersion"
161160
mavenBom "io.micrometer:micrometer-bom:$micrometerVersion"
162161
mavenBom "io.micrometer:micrometer-tracing-bom:$micrometerTracingVersion"
163162
mavenBom "io.projectreactor:reactor-bom:$reactorVersion"
@@ -256,8 +255,6 @@ configure(javaProjects) { subproject ->
256255
}
257256
}
258257

259-
testImplementation "org.assertj:assertj-core:$assertjVersion"
260-
261258
// JSR-305 only used for non-required meta-annotations
262259
compileOnly "com.google.code.findbugs:annotations:$findbugsVersion"
263260
testImplementation "com.google.code.findbugs:annotations:$findbugsVersion"
@@ -584,15 +581,15 @@ project('spring-integration-debezium') {
584581
description = 'Spring Integration Debezium Support'
585582
dependencies {
586583
api project(':spring-integration-core')
587-
api('io.debezium:debezium-embedded') {
584+
api("io.debezium:debezium-embedded:$debeziumVersion") {
588585
exclude group: 'org.glassfish.jersey.containers', module: 'jersey-container-servlet'
589586
exclude group: 'org.glassfish.jersey.inject', module: 'jersey-hk2'
590587
exclude group: 'jakarta.xml.bind', module: 'jakarta.xml.bind-api'
591588
exclude group: 'jakarta.activation', module: 'jakarta.activation-api'
592589
exclude group: 'javax.activation', module: 'javax.activation-api'
593590
}
594591

595-
testImplementation 'io.debezium:debezium-connector-mysql'
592+
testImplementation "io.debezium:debezium-connector-mysql:$debeziumVersion"
596593
testImplementation 'org.testcontainers:mysql'
597594
}
598595
}
@@ -954,6 +951,7 @@ project('spring-integration-stomp') {
954951
testImplementation project(':spring-integration-event')
955952
testImplementation("org.apache.activemq:artemis-stomp-protocol:$artemisVersion") {
956953
exclude group: 'org.jboss.logmanager'
954+
exclude group: 'io.netty'
957955
}
958956
testImplementation "org.apache.tomcat.embed:tomcat-embed-websocket:$tomcatVersion"
959957
testImplementation 'com.fasterxml.jackson.core:jackson-databind'

0 commit comments

Comments
 (0)