Blame SPECS/maven-install-plugin.spec

fba8a3
%{?scl:%scl_package maven-install-plugin}
fba8a3
%{!?scl:%global pkg_name %{name}}
fba8a3
fba8a3
Name:           %{?scl_prefix}maven-install-plugin
fba8a3
Version:        2.5.2
fba8a3
Release:        5.2%{?dist}
fba8a3
Summary:        Maven Install Plugin
fba8a3
fba8a3
Group:          Development/Libraries
fba8a3
License:        ASL 2.0
fba8a3
URL:            http://maven.apache.org/plugins/maven-install-plugin
fba8a3
Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
fba8a3
fba8a3
BuildArch:      noarch
fba8a3
fba8a3
BuildRequires:  %{?scl_prefix}maven-local
fba8a3
BuildRequires:  %{?scl_prefix}mvn(commons-codec:commons-codec)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-artifact)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-artifact-manager)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-compat)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-core)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-model)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-project)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugins:maven-plugins:pom:)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.shared:maven-shared-utils)
fba8a3
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
fba8a3
fba8a3
%description
fba8a3
Copies the project artifacts to the user's local repository.
fba8a3
fba8a3
%package javadoc
fba8a3
Group:          Documentation
fba8a3
Summary:        Javadoc for %{pkg_name}
fba8a3
Requires:       %{?scl_prefix}jpackage-utils
fba8a3
fba8a3
%description javadoc
fba8a3
API documentation for %{pkg_name}.
fba8a3
fba8a3
%prep
fba8a3
%setup -n %{pkg_name}-%{version} -q
fba8a3
# maven-core has scope "provided" in Plugin Testing Harness, so we
fba8a3
# need to provide it or tests will fail to compile.  This works for
fba8a3
# upstream because upstream uses a different version of Plugin Testing
fba8a3
# Harness in which scope of maven-core dependency is "compile".
fba8a3
%pom_add_dep org.apache.maven:maven-core::test
fba8a3
fba8a3
%pom_add_dep org.apache.maven:maven-compat
fba8a3
fba8a3
%build
fba8a3
%mvn_build -f -- -DmavenVersion=3.1.1
fba8a3
fba8a3
%install
fba8a3
%mvn_install
fba8a3
fba8a3
%files -f .mfiles
fba8a3
%doc LICENSE NOTICE
fba8a3
fba8a3
%files javadoc -f .mfiles-javadoc
fba8a3
%doc LICENSE NOTICE
fba8a3
fba8a3
%changelog
fba8a3
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 2.5.2-5.2
fba8a3
- Mass rebuild 2017-06-22
fba8a3
fba8a3
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 2.5.2-5.1
fba8a3
- Automated package import and SCL-ization
fba8a3
fba8a3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-5
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fba8a3
fba8a3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-4
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fba8a3
fba8a3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-3
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fba8a3
fba8a3
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.2-2
fba8a3
- Remove legacy Obsoletes/Provides for maven2 plugin
fba8a3
fba8a3
* Mon Sep  1 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.2-1
fba8a3
- Update to upstream version 2.5.2
fba8a3
fba8a3
* Mon Aug  4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-5
fba8a3
- Fix build-requires on parent POM
fba8a3
fba8a3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-4
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fba8a3
fba8a3
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5.1-3
fba8a3
- Use Requires: java-headless rebuild (#1067528)
fba8a3
fba8a3
* Fri Jan 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-2
fba8a3
- Update to Maven 3.x
fba8a3
fba8a3
* Mon Oct 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-1
fba8a3
- Update to upstream version 2.5.1
fba8a3
fba8a3
* Tue Sep 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5-1
fba8a3
- Update to upstream version 2.5
fba8a3
fba8a3
* Wed Aug 07 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-6
fba8a3
- Update to latest packaging guidelines
fba8a3
fba8a3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-5
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fba8a3
fba8a3
* Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4-2
fba8a3
- Add missing requires on maven2 artifact and model
fba8a3
- Add maven-core to test dependencies
fba8a3
- Resolves: rhbz#914169
fba8a3
fba8a3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-3
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fba8a3
fba8a3
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.4-2
fba8a3
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
fba8a3
- Replace maven BuildRequires with maven-local
fba8a3
fba8a3
* Sat Jan 07 2013 David Xie <david.scriptfan@gmail.com> - 2.4-1
fba8a3
- Upgrade to 2.4
fba8a3
fba8a3
* Mon Dec 10 2012 Weinan Li <weli@redhat.com> - 2.3.1-7
fba8a3
- Install license files
fba8a3
fba8a3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-6
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fba8a3
fba8a3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-5
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fba8a3
fba8a3
* Mon Dec  5 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3.1-4
fba8a3
- Fixes for pure maven 3 build without maven 2 in buildroot
fba8a3
- Guideline fixes
fba8a3
fba8a3
* Fri Jun 3 2011 Alexander Kurtakov <akurtako@redhat.com> 2.3.1-3
fba8a3
- Build with maven v3.
fba8a3
- Guidelines fixes.
fba8a3
fba8a3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-2
fba8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fba8a3
fba8a3
* Thu Oct 14 2010 Alexander Kurtakov <akurtako@redhat.com> 2.3.1-1
fba8a3
- Update to 2.3.1.
fba8a3
- Install License.
fba8a3
fba8a3
* Thu Sep 09 2010 Hui Wang <huwang@redhat.com> 2.3-8
fba8a3
- Add pom.patch
fba8a3
fba8a3
* Fri May 21 2010 Alexander Kurtakov <akurtako@redhat.com> 2.3-7
fba8a3
- BR: plexus-digest.
fba8a3
fba8a3
* Fri May 21 2010 Alexander Kurtakov <akurtako@redhat.com> 2.3-6
fba8a3
- Requires: plexus-digest.
fba8a3
fba8a3
* Wed May 19 2010 Hui Wang <huwang@redhat.com> - 2.3-5
fba8a3
- Added missing BR : maven-shared-reporting-impl
fba8a3
fba8a3
* Wed May 19 2010 Hui Wang <huwang@redhat.com> - 2.3-4
fba8a3
- Added missing obsoletes/provides
fba8a3
fba8a3
* Wed May 19 2010 Hui Wang <huwang@redhat.com> - 2.3-3
fba8a3
- Added missing BR : maven-archiver
fba8a3
fba8a3
* Mon May 17 2010 Hui Wang <huwang@redhat.com> - 2.3-2
fba8a3
- Fixed install -pm 644 pom.xml
fba8a3
fba8a3
* Fri May 14 2010 Hui Wang <huwang@redhat.com> - 2.3-1
fba8a3
- Initial version of the package