Remove uneeded plugin invokations

This commit is contained in:
Mat Booth 2020-06-19 16:17:58 +01:00
parent 49b498e986
commit 98a0879184

View File

@ -2,7 +2,7 @@
Name: jakarta-annotations Name: jakarta-annotations
Version: 1.3.5 Version: 1.3.5
Release: 2%{?dist} Release: 3%{?dist}
Summary: Jakarta Annotations Summary: Jakarta Annotations
License: EPL-2.0 or GPLv2 with exceptions License: EPL-2.0 or GPLv2 with exceptions
@ -13,7 +13,6 @@ BuildArch: noarch
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) 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.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.glassfish.build:spec-version-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, ...) # it has missing dependencies (jruby, asciidoctor-maven-plugin, ...)
%pom_disable_module spec %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 # 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 javax.annotation:javax.annotation-api
%mvn_alias jakarta.annotation:jakarta.annotation-api:pom: javax.annotation:javax.annotation-api:pom: %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 %changelog
* Fri Jun 19 2020 Mat Booth <mat.booth@redhat.com> - 1.3.5-3
- Remove uneeded plugin invokations
* Mon May 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.5-2 * Mon May 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.5-2
- Fix typo in obsoleted package name. - Fix typo in obsoleted package name.