Skip to content

Commit

Permalink
Remove debezium-bom import
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
artembilan committed Jun 23, 2023
1 parent a7d9def commit 881893d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build.gradle
Expand Up @@ -157,7 +157,6 @@ allprojects {

imports {
mavenBom "com.fasterxml.jackson:jackson-bom:$jacksonVersion"
mavenBom "io.debezium:debezium-bom:$debeziumVersion"
mavenBom "io.micrometer:micrometer-bom:$micrometerVersion"
mavenBom "io.micrometer:micrometer-tracing-bom:$micrometerTracingVersion"
mavenBom "io.projectreactor:reactor-bom:$reactorVersion"
Expand Down Expand Up @@ -256,8 +255,6 @@ configure(javaProjects) { subproject ->
}
}

testImplementation "org.assertj:assertj-core:$assertjVersion"

// JSR-305 only used for non-required meta-annotations
compileOnly "com.google.code.findbugs:annotations:$findbugsVersion"
testImplementation "com.google.code.findbugs:annotations:$findbugsVersion"
Expand Down Expand Up @@ -584,15 +581,15 @@ project('spring-integration-debezium') {
description = 'Spring Integration Debezium Support'
dependencies {
api project(':spring-integration-core')
api('io.debezium:debezium-embedded') {
api("io.debezium:debezium-embedded:$debeziumVersion") {
exclude group: 'org.glassfish.jersey.containers', module: 'jersey-container-servlet'
exclude group: 'org.glassfish.jersey.inject', module: 'jersey-hk2'
exclude group: 'jakarta.xml.bind', module: 'jakarta.xml.bind-api'
exclude group: 'jakarta.activation', module: 'jakarta.activation-api'
exclude group: 'javax.activation', module: 'javax.activation-api'
}

testImplementation 'io.debezium:debezium-connector-mysql'
testImplementation "io.debezium:debezium-connector-mysql:$debeziumVersion"
testImplementation 'org.testcontainers:mysql'
}
}
Expand Down Expand Up @@ -954,6 +951,7 @@ project('spring-integration-stomp') {
testImplementation project(':spring-integration-event')
testImplementation("org.apache.activemq:artemis-stomp-protocol:$artemisVersion") {
exclude group: 'org.jboss.logmanager'
exclude group: 'io.netty'
}
testImplementation "org.apache.tomcat.embed:tomcat-embed-websocket:$tomcatVersion"
testImplementation 'com.fasterxml.jackson.core:jackson-databind'
Expand Down

0 comments on commit 881893d

Please sign in to comment.