import CS jackson-databind-2.19.1-1.el9

This commit is contained in:
Andrew Lukoshko 2025-07-31 10:02:55 +00:00
parent 8d562d5df2
commit 8648cf3282
3 changed files with 18 additions and 11 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/jackson-databind-2.14.1.tar.gz
SOURCES/jackson-databind-2.19.1.tar.gz

View File

@ -1 +1 @@
76890a3d1df2adb6c53afe7bcdeaa0956f8d0eea SOURCES/jackson-databind-2.14.1.tar.gz
d8742e8cc521f1f0ac241b2ae14469be3ccaed66 SOURCES/jackson-databind-2.19.1.tar.gz

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