Rebase to jackson-databind 2.19.1

Resolves: RHEL-100233
This commit is contained in:
Marco Fargetta 2025-07-16 16:37:46 +02:00
parent 50551ac500
commit 0e6dc15cdf
2 changed files with 17 additions and 10 deletions

View File

@ -1,6 +1,6 @@
Name: jackson-databind
Version: 2.14.1
Release: 2%{?dist}
Version: 2.19.1
Release: 1%{?dist}
Summary: General data-binding package for Jackson (2.x)
License: Apache-2.0 and LGPL-2.0-or-later
@ -16,6 +16,9 @@ BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.mockito:mockito-core)
BuildArch: noarch
%if 0%{?fedora} || 0%{?rhel} >= 10
ExclusiveArch: %{java_arches} noarch
%endif
%description
The general-purpose data-binding functionality and tree-model for Jackson Data
@ -40,7 +43,13 @@ Jackson Annotations for configuration.
%pom_remove_plugin ":maven-enforcer-plugin"
%pom_remove_plugin "org.jacoco:jacoco-maven-plugin"
%pom_remove_plugin "org.moditect:moditect-maven-plugin"
%pom_remove_plugin "de.jjohannes:gradle-module-metadata-maven-plugin"
%pom_remove_plugin "org.codehaus.mojo:animal-sniffer-maven-plugin"
%pom_remove_plugin "org.gradlex:gradle-module-metadata-maven-plugin"
%pom_xpath_set "//pom:javac.src.version" "1.8"
%pom_xpath_set "//pom:javac.target.version" "1.8"
%pom_xpath_inject "//pom:properties" " <maven.compiler.source>1.8</maven.compiler.source>"
%pom_xpath_inject "//pom:properties" " <maven.compiler.target>1.8</maven.compiler.target>"
cp -p src/main/resources/META-INF/NOTICE .
sed -i 's/\r//' LICENSE NOTICE
@ -53,12 +62,6 @@ rm src/test/java/com/fasterxml/jackson/databind/introspect/NoClassDefFoundWorkar
# TestTypeFactoryWithClassLoader fails to compile
# - it's the only test that uses powermock, so drop the powermock dependencies
# - mockito is only transitively pulled in by powermock, so add it back
%pom_remove_dep org.powermock:
%pom_add_dep org.mockito:mockito-core::test
rm src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java
# Off test that require connection with the web
rm src/test/java/com/fasterxml/jackson/databind/TestJDKSerialization.java
%mvn_file : %{name}
@ -73,6 +76,10 @@ rm src/test/java/com/fasterxml/jackson/databind/TestJDKSerialization.java
%license LICENSE NOTICE
%changelog
* Wed Jul 16 2025 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.19.1-1
- Update to version 2.19.1
- Resolves: RHEL-100233
* Wed Nov 23 2022 Chris Kelley <ckelley@redhat.com> - 2.14.1-1
- Update to version 2.14.1
- Resolves: #2070122

View File

@ -1 +1 @@
SHA512 (jackson-databind-2.14.1.tar.gz) = 723f66681a77cbb290189d27b3afffe188e16514610b304efc64fb824b32eb48eda98e3ed25d53a427a0c2d762d95488ce569088211809a08638a7c25cdd5179
SHA512 (jackson-databind-2.19.1.tar.gz) = 83446b49219a66edf579b63404f5476de2787c7f9f7ed387f49080339d625d3868482db7d61f430289381817b226a48b64e9fbfca9b0c4c27d1f58d53c6e3686