Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ext {
hamcrestVersion = '3.0'
hibernateValidationVersion = '8.0.2.Final'
jacksonBomVersion = '2.19.1'
jackson3Version = '3.0.0-rc5'
jaywayJsonPathVersion = '2.9.0'
junitJupiterVersion = '5.13.2'
kotlinCoroutinesVersion = '1.10.2'
Expand Down Expand Up @@ -110,6 +111,7 @@ allprojects {

imports {
mavenBom "com.fasterxml.jackson:jackson-bom:$jacksonBomVersion"
mavenBom "tools.jackson:jackson-bom:$jackson3Version"
mavenBom "org.junit:junit-bom:$junitJupiterVersion"
mavenBom "org.springframework:spring-framework-bom:$springVersion"
mavenBom "io.projectreactor:reactor-bom:$reactorVersion"
Expand Down Expand Up @@ -306,6 +308,7 @@ project('spring-amqp') {
optionalApi 'org.springframework:spring-messaging'
optionalApi 'org.springframework:spring-oxm'
optionalApi 'org.springframework:spring-context'

optionalApi 'com.fasterxml.jackson.core:jackson-core'
optionalApi 'com.fasterxml.jackson.core:jackson-databind'
optionalApi 'com.fasterxml.jackson.core:jackson-annotations'
Expand All @@ -315,6 +318,14 @@ project('spring-amqp') {
optionalApi 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
optionalApi 'com.fasterxml.jackson.datatype:jackson-datatype-joda'
optionalApi 'com.fasterxml.jackson.module:jackson-module-kotlin'

optionalApi 'tools.jackson.core:jackson-databind'
optionalApi 'tools.jackson.datatype:jackson-datatype-joda'
optionalApi 'tools.jackson.dataformat:jackson-dataformat-xml'
optionalApi('tools.jackson.module:jackson-module-kotlin') {
exclude group: 'org.jetbrains.kotlin'
}

// Spring Data projection message binding support
optionalApi 'org.springframework.data:spring-data-commons'
optionalApi "com.jayway.jsonpath:json-path:$jaywayJsonPathVersion"
Expand Down Expand Up @@ -389,6 +400,9 @@ project('spring-rabbit') {
testRuntimeOnly 'com.fasterxml.jackson.core:jackson-databind'
testRuntimeOnly 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml'
testRuntimeOnly 'com.fasterxml.jackson.module:jackson-module-kotlin'

testRuntimeOnly 'tools.jackson.core:jackson-databind'
testRuntimeOnly 'tools.jackson.dataformat:jackson-dataformat-xml'
}
}

Expand All @@ -407,6 +421,8 @@ project('spring-rabbit-stream') {
testRuntimeOnly 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml'
testRuntimeOnly 'com.fasterxml.jackson.module:jackson-module-kotlin'

testRuntimeOnly 'tools.jackson.core:jackson-databind'

testImplementation 'org.testcontainers:rabbitmq'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.apache.logging.log4j:log4j-slf4j-impl'
Expand All @@ -430,6 +446,8 @@ project('spring-rabbitmq-client') {

testRuntimeOnly 'com.fasterxml.jackson.core:jackson-databind'

testRuntimeOnly 'tools.jackson.core:jackson-databind'

testImplementation 'org.testcontainers:rabbitmq'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.apache.logging.log4j:log4j-slf4j-impl'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
* @author Gary Russell
*
* @since 2.1
*
* @deprecated since 4.0 in favor of {@link AbstractJacksonMessageConverter} for Jackson 3.
*/
@Deprecated(forRemoval = true, since = "4.0")
public abstract class AbstractJackson2MessageConverter extends AbstractMessageConverter
implements BeanClassLoaderAware, SmartMessageConverter {

Expand Down
Loading