From 6082f6d4b845b7c4b96efa2053b9308b95b06695 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 24 Jul 2024 21:07:12 +0200 Subject: [PATCH] Replace outdated org.codehaus.jackson:* by com.fasterxml.jackson.core:* Signed-off-by: Stefan Weil --- Kitodo/pom.xml | 8 ++++++-- .../java/org/kitodo/production/forms/UserForm.java | 5 +++-- pom.xml | 11 ++++++++--- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/Kitodo/pom.xml b/Kitodo/pom.xml index f3faa6fb2ed..1da87b9245c 100644 --- a/Kitodo/pom.xml +++ b/Kitodo/pom.xml @@ -52,9 +52,13 @@ com.itextpdf itextpdf + + com.fasterxml.jackson.core + jackson-core + - org.codehaus.jackson - jackson-xc + com.fasterxml.jackson.core + jackson-databind commons-beanutils diff --git a/Kitodo/src/main/java/org/kitodo/production/forms/UserForm.java b/Kitodo/src/main/java/org/kitodo/production/forms/UserForm.java index 66d79e6170d..570c5fe4c98 100644 --- a/Kitodo/src/main/java/org/kitodo/production/forms/UserForm.java +++ b/Kitodo/src/main/java/org/kitodo/production/forms/UserForm.java @@ -11,6 +11,9 @@ package org.kitodo.production.forms; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; + import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.text.MessageFormat; @@ -42,8 +45,6 @@ import org.apache.commons.lang3.StringUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import org.codehaus.jackson.map.ObjectMapper; -import org.codehaus.jackson.type.TypeReference; import org.kitodo.config.ConfigCore; import org.kitodo.config.enums.ParameterCore; import org.kitodo.data.database.beans.Client; diff --git a/pom.xml b/pom.xml index 0dcb659b682..3b493d2cfdc 100644 --- a/pom.xml +++ b/pom.xml @@ -416,10 +416,15 @@ from system library in Java 11+ --> camunda-bpmn-model 7.17.0 + + com.fasterxml.jackson.core + jackson-core + 2.17.1 + - org.codehaus.jackson - jackson-xc - 1.9.13 + com.fasterxml.jackson.core + jackson-databind + 2.17.1 org.codehaus.plexus