From 98a08791842b18e2386f3288d04322abd3146248 Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Fri, 19 Jun 2020 16:17:58 +0100 Subject: [PATCH] Remove uneeded plugin invokations --- jakarta-annotations.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/jakarta-annotations.spec b/jakarta-annotations.spec index 5a6de27..1efcf44 100644 --- a/jakarta-annotations.spec +++ b/jakarta-annotations.spec @@ -2,7 +2,7 @@ Name: jakarta-annotations Version: 1.3.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Jakarta Annotations License: EPL-2.0 or GPLv2 with exceptions @@ -13,7 +13,6 @@ BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) -BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin) @@ -41,6 +40,11 @@ that applies across a variety of Java technologies. # it has missing dependencies (jruby, asciidoctor-maven-plugin, ...) %pom_disable_module spec +# remove plugins not needed for RPM builds +%pom_remove_plugin :maven-javadoc-plugin api +%pom_remove_plugin :maven-source-plugin api +%pom_remove_plugin :findbugs-maven-plugin api + # provide aliases for the old artifact coordinates %mvn_alias jakarta.annotation:jakarta.annotation-api javax.annotation:javax.annotation-api %mvn_alias jakarta.annotation:jakarta.annotation-api:pom: javax.annotation:javax.annotation-api:pom: @@ -60,6 +64,9 @@ that applies across a variety of Java technologies. %changelog +* Fri Jun 19 2020 Mat Booth - 1.3.5-3 +- Remove uneeded plugin invokations + * Mon May 11 2020 Fabio Valentini - 1.3.5-2 - Fix typo in obsoleted package name.