From 394b4b03a47b6d37abb3c53ac56424fecdb0ebf9 Mon Sep 17 00:00:00 2001 From: Chris Kelley Date: Tue, 13 Dec 2022 11:22:44 +0000 Subject: [PATCH] Add extensions=true to build-helper-maven-plugin --- ...ns-true-to-build-helper-maven-plugin.patch | 26 +++++++++++++++++++ jackson-annotations.spec | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 0001-Add-extensions-true-to-build-helper-maven-plugin.patch diff --git a/0001-Add-extensions-true-to-build-helper-maven-plugin.patch b/0001-Add-extensions-true-to-build-helper-maven-plugin.patch new file mode 100644 index 0000000..bf812bc --- /dev/null +++ b/0001-Add-extensions-true-to-build-helper-maven-plugin.patch @@ -0,0 +1,26 @@ +From f8eee8e070b4b54417ecb2bf0c2f666b70cda072 Mon Sep 17 00:00:00 2001 +From: Chris Kelley +Date: Tue, 13 Dec 2022 11:19:44 +0000 +Subject: [PATCH] Add extensions=true to build-helper-maven-plugin + +--- + pom.xml | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/pom.xml b/pom.xml +index 85acf10..f218033 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -144,7 +144,8 @@ + --> + + org.codehaus.mojo +- build-helper-maven-plugin ++ build-helper-maven-plugin ++ true + + + add-resource +-- +2.38.1 + diff --git a/jackson-annotations.spec b/jackson-annotations.spec index 6866e4d..a4934ce 100644 --- a/jackson-annotations.spec +++ b/jackson-annotations.spec @@ -6,6 +6,7 @@ License: Apache-2.0 URL: https://github.com/FasterXML/jackson-annotations Source0: %{url}/archive/%{name}-%{version}.tar.gz +Patch1: 0001-Add-extensions-true-to-build-helper-maven-plugin.patch BuildRequires: maven-local BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.14 BuildRequires: mvn(junit:junit) @@ -26,6 +27,7 @@ This package contains API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} +%patch1 -p1 %pom_remove_plugin "org.moditect:moditect-maven-plugin" %pom_remove_plugin "org.sonatype.plugins:nexus-staging-maven-plugin"