diff --git a/NOTICE.txt b/NOTICE.txt index 6c871223c..08e9a29e4 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -10,8 +10,8 @@ product and version for which you are requesting source code. Third Party Notices -jackson-databind 2.17.2 (Apache-2.0) -jackson-dataformat-csv 2.17.2 (Apache-2.0) +jackson-databind 2.19.0 (Apache-2.0) +jackson-dataformat-csv 2.19.0 (Apache-2.0) okhttp 4.12.0 (Apache-2.0) logging-interceptor 4.12.0 (Apache-2.0) jakarta.mail 2.0.1 (EPL-1.0) @@ -31,11 +31,11 @@ Third-Party Components The following is a list of the third-party components used by the MarkLogic® for Java Client 7.1.0 (last updated January 6, 2025): -jackson-databind 2.17.2 (Apache-2.0) +jackson-databind 2.19.0 (Apache-2.0) https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/ For the full text of the Apache-2.0 license, see Apache License 2.0 (Apache-2.0) -jackson-dataformat-csv 2.17.2 (Apache-2.0) +jackson-dataformat-csv 2.19.0 (Apache-2.0) https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-csv/ For the full text of the Apache-2.0 license, see Apache License 2.0 (Apache-2.0) diff --git a/examples/build.gradle b/examples/build.gradle index c1069c5cd..38418a84e 100644 --- a/examples/build.gradle +++ b/examples/build.gradle @@ -13,7 +13,7 @@ dependencies { api 'com.squareup.okhttp3:okhttp:4.12.0' api 'io.github.rburgst:okhttp-digest:2.7' api 'org.slf4j:slf4j-api:2.0.17' - api "com.fasterxml.jackson.core:jackson-databind:2.17.2" + api "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}" api 'org.jdom:jdom2:2.0.6.1' api 'org.dom4j:dom4j:2.1.4' diff --git a/gradle.properties b/gradle.properties index 7fc5a8223..e9f7503b9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,9 @@ version=7.2-SNAPSHOT describedName=MarkLogic Java Client API publishUrl=file:../marklogic-java/releases +# See https://github.com/FasterXML/jackson for more information on the Jackson libraries. +jacksonVersion=2.19.0 + # Defined at this level so that they can be set as system properties and used by the marklogic-client-api and test-app # project mlHost=localhost diff --git a/marklogic-client-api-functionaltests/build.gradle b/marklogic-client-api-functionaltests/build.gradle index 04783f123..023cbf8fa 100755 --- a/marklogic-client-api-functionaltests/build.gradle +++ b/marklogic-client-api-functionaltests/build.gradle @@ -24,8 +24,8 @@ dependencies { implementation 'org.slf4j:slf4j-api:2.0.17' implementation 'commons-io:commons-io:2.17.0' implementation 'com.squareup.okhttp3:okhttp:4.12.0' - implementation "com.fasterxml.jackson.core:jackson-core:2.17.2" - implementation "com.fasterxml.jackson.core:jackson-databind:2.17.2" + implementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}" + implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}" implementation "org.jdom:jdom2:2.0.6.1" implementation ("com.marklogic:ml-app-deployer:5.0.0") { exclude module: "marklogic-client-api" diff --git a/marklogic-client-api/build.gradle b/marklogic-client-api/build.gradle index 287b744a2..8ed498b4c 100644 --- a/marklogic-client-api/build.gradle +++ b/marklogic-client-api/build.gradle @@ -29,8 +29,8 @@ dependencies { implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1' implementation 'org.slf4j:slf4j-api:2.0.16' - implementation "com.fasterxml.jackson.core:jackson-databind:2.17.2" - implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.17.2" + implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}" + implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jacksonVersion}" // Only used by extras (which some examples then depend on) compileOnly 'org.jdom:jdom2:2.0.6.1' @@ -53,7 +53,7 @@ dependencies { testImplementation "org.mockito:mockito-inline:4.11.0" testImplementation "com.squareup.okhttp3:mockwebserver:4.12.0" - testImplementation "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.17.2" + testImplementation "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jacksonVersion}" testImplementation 'ch.qos.logback:logback-classic:1.3.15' // Using this to avoid a schema validation issue with the regular xercesImpl diff --git a/ml-development-tools/build.gradle b/ml-development-tools/build.gradle index 973986077..4b6269c9f 100644 --- a/ml-development-tools/build.gradle +++ b/ml-development-tools/build.gradle @@ -12,7 +12,7 @@ dependencies { compileOnly gradleApi() implementation project(':marklogic-client-api') implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.22' - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.2" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:${jacksonVersion}" implementation 'com.networknt:json-schema-validator:1.0.88' // Not yet migrating this project to JUnit 5. Will reconsider it once we have a reason to enhance diff --git a/pom.xml b/pom.xml index c4999b8f0..dd855ae5b 100644 --- a/pom.xml +++ b/pom.xml @@ -69,25 +69,25 @@ It is not intended to be used to build this project. com.fasterxml.jackson.core jackson-core - 2.17.2 + 2.19.0 runtime com.fasterxml.jackson.core jackson-annotations - 2.17.2 + 2.19.0 runtime com.fasterxml.jackson.core jackson-databind - 2.17.2 + 2.19.0 runtime com.fasterxml.jackson.dataformat jackson-dataformat-csv - 2.17.2 + 2.19.0 runtime diff --git a/test-app/build.gradle b/test-app/build.gradle index 56666db4d..49b1563dd 100644 --- a/test-app/build.gradle +++ b/test-app/build.gradle @@ -9,7 +9,7 @@ dependencies { implementation "io.undertow:undertow-servlet:2.2.37.Final" implementation 'org.slf4j:slf4j-api:2.0.17' implementation 'ch.qos.logback:logback-classic:1.3.15' - implementation "com.fasterxml.jackson.core:jackson-databind:2.17.2" + implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}" implementation 'com.squareup.okhttp3:okhttp:4.12.0' }