Remove more useless plugins

This commit is contained in:
Michael Simacek 2017-02-06 10:37:08 +01:00
parent f0fe2cf75a
commit 8fda92affc

View File

@ -2,7 +2,7 @@
Name: apache-%{short_name}
Version: 42
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Apache Commons Parent Pom
License: ASL 2.0
URL: http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
@ -18,13 +18,9 @@ BuildRequires: mvn(org.apache:apache:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.rat:apache-rat-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
Requires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
Requires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
%description
The Project Object Model files for the apache-commons packages.
@ -36,6 +32,10 @@ The Project Object Model files for the apache-commons packages.
%pom_remove_plugin org.apache.commons:commons-build-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-scm-publish-plugin
# Plugins useless in package builds
%pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :buildnumber-maven-plugin
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin :maven-site-plugin
# Remove profiles for plugins that are useless in package builds
@ -53,6 +53,9 @@ done
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
%changelog
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 42-3
- Remove more useless plugins
* Thu Jan 05 2017 Michael Simacek <msimacek@redhat.com> - 42-2
- Remove profiles for plugins that are useless in package builds