Name: jettison Version: 1.5.4 Release: 1 Summary: A JSON StAX implementation License: ASL 2.0 URL: https://github.com/codehaus/jettison BuildArch: noarch Source0: https://github.com/codehaus/jettison/archive/refs/tags/%{name}-%{version}.tar.gz BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus:codehaus-parent:pom:) BuildRequires: mvn(org.codehaus.woodstox:woodstox-core-asl) mvn(stax:stax-api) %description Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nearly transparent enablement of JSON based web services in services frameworks like CXF or XML serialization frameworks like XStream. %package javadoc Summary: Javadocs for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %autosetup -n %{name}-%{name}-%{version} -p1 %pom_remove_plugin :maven-release-plugin %pom_remove_plugin :nexus-staging-maven-plugin %pom_remove_plugin :maven-enforcer-plugin %build %mvn_build -f %install %mvn_install %files -f .mfiles %license LICENSE %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Thu Dec 07 2023 yaoxin - 1.5.4-1 - Upgrade to 1.5.4 for fix cves: CVE-2022-40149,CVE-2022-40150, CVE-2022-45685,CVE-2022-45693 and CVE-2023-1436 * Sat Aug 1 2020 Jeffery.Gao - 1.3.7-1 - Package init