Add extensions=true to build-helper-maven-plugin

This commit is contained in:
Chris Kelley 2022-12-13 11:22:44 +00:00
parent b31538b9fd
commit 394b4b03a4
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From f8eee8e070b4b54417ecb2bf0c2f666b70cda072 Mon Sep 17 00:00:00 2001
From: Chris Kelley <ckelley@redhat.com>
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 @@
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <extensions>true</extensions>
<executions>
<execution>
<id>add-resource</id>
--
2.38.1

View File

@ -6,6 +6,7 @@ License: Apache-2.0
URL: https://github.com/FasterXML/jackson-annotations URL: https://github.com/FasterXML/jackson-annotations
Source0: %{url}/archive/%{name}-%{version}.tar.gz Source0: %{url}/archive/%{name}-%{version}.tar.gz
Patch1: 0001-Add-extensions-true-to-build-helper-maven-plugin.patch
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.14 BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.14
BuildRequires: mvn(junit:junit) BuildRequires: mvn(junit:junit)
@ -26,6 +27,7 @@ This package contains API documentation for %{name}.
%prep %prep
%setup -q -n %{name}-%{name}-%{version} %setup -q -n %{name}-%{name}-%{version}
%patch1 -p1
%pom_remove_plugin "org.moditect:moditect-maven-plugin" %pom_remove_plugin "org.moditect:moditect-maven-plugin"
%pom_remove_plugin "org.sonatype.plugins:nexus-staging-maven-plugin" %pom_remove_plugin "org.sonatype.plugins:nexus-staging-maven-plugin"