Blame SPECS/maven-deploy-plugin.spec

1324f9
%global pkg_name maven-deploy-plugin
1324f9
%{?scl:%scl_package %{pkg_name}}
1324f9
%{?maven_find_provides_and_requires}
1324f9
1324f9
Name:           %{?scl_prefix}%{pkg_name}
1324f9
Version:        2.7
1324f9
Release:        11.14%{?dist}
1324f9
Summary:        Maven Deploy Plugin
1324f9
1324f9
License:        ASL 2.0
1324f9
URL:            http://maven.apache.org/plugins/maven-deploy-plugin/
1324f9
Source0:        http://repo1.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
1324f9
1324f9
BuildArch: noarch
1324f9
1324f9
# Basic stuff
1324f9
BuildRequires: %{?scl_prefix_java_common}javapackages-tools
1324f9
1324f9
# Maven and its dependencies
1324f9
BuildRequires: %{?scl_prefix}maven-local
1324f9
BuildRequires: %{?scl_prefix}maven-plugin-plugin
1324f9
BuildRequires: %{?scl_prefix}maven-resources-plugin
1324f9
BuildRequires: %{?scl_prefix}maven-archiver
1324f9
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-artifact:2.0.6)
1324f9
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-model:2.0.6)
1324f9
# The following maven packages haven't updated yet
1324f9
BuildRequires: %{?scl_prefix}maven-changes-plugin
1324f9
BuildRequires: %{?scl_prefix}maven-enforcer-plugin
1324f9
BuildRequires: %{?scl_prefix}maven-invoker-plugin
1324f9
1324f9
# autorequires support for compat packages not finished yet
1324f9
Requires: %{?scl_prefix}mvn(org.apache.maven:maven-artifact:2.0.6)
1324f9
Requires: %{?scl_prefix}mvn(org.apache.maven:maven-model:2.0.6)
1324f9
1324f9
%description
1324f9
Uploads the project artifacts to the internal remote repository.
1324f9
1324f9
%package javadoc
1324f9
Summary:        Javadoc for %{pkg_name}
1324f9
1324f9
%description javadoc
1324f9
API documentation for %{pkg_name}.
1324f9
1324f9
%prep
1324f9
%setup -q -n %{pkg_name}-%{version}
1324f9
%{?scl:scl enable %{scl} - <<"EOF"}
1324f9
set -e -x
1324f9
1324f9
%pom_xpath_inject pom:project "<build><plugins/></build>"
1324f9
%pom_add_plugin :maven-plugin-plugin . "
1324f9
        <configuration>
1324f9
          <helpPackageName>org.apache.maven.plugin.deploy</helpPackageName>
1324f9
        </configuration>"
1324f9
%{?scl:EOF}
1324f9
1324f9
%build
1324f9
%{?scl:scl enable %{scl} - <<"EOF"}
1324f9
set -e -x
1324f9
# A test class doesn't compile
1324f9
%mvn_build -f
1324f9
%{?scl:EOF}
1324f9
1324f9
%install
1324f9
%{?scl:scl enable %{scl} - <<"EOF"}
1324f9
set -e -x
1324f9
%mvn_install
1324f9
%{?scl:EOF}
1324f9
1324f9
%files -f .mfiles
1324f9
%doc DEPENDENCIES LICENSE NOTICE
1324f9
%dir %{_mavenpomdir}/%{pkg_name}
1324f9
%dir %{_javadir}/%{pkg_name}
1324f9
1324f9
%files javadoc -f .mfiles-javadoc
1324f9
%doc LICENSE
1324f9
1324f9
%changelog
1324f9
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 2.7-11.14
1324f9
- Fix BR on maven-local & co.
1324f9
1324f9
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 2.7-11.13
1324f9
- maven33 rebuild #2
1324f9
1324f9
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 2.7-11.12
1324f9
- maven33 rebuild
1324f9
1324f9
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.11
1324f9
- Add directory ownership on %%{_mavenpomdir} subdir
1324f9
1324f9
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 2.7-11.10
1324f9
- Mass rebuild 2015-01-13
1324f9
1324f9
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 2.7-11.9
1324f9
- Mass rebuild 2015-01-06
1324f9
1324f9
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.8
1324f9
- Mass rebuild 2014-05-26
1324f9
1324f9
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.7
1324f9
- Mass rebuild 2014-02-19
1324f9
1324f9
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.6
1324f9
- Mass rebuild 2014-02-18
1324f9
1324f9
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.5
1324f9
- Remove requires on java
1324f9
1324f9
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.4
1324f9
- Rebuild to fix incorrect auto-requires
1324f9
1324f9
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.3
1324f9
- SCL-ize requires and build-requires
1324f9
1324f9
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.2
1324f9
- Rebuild to regenerate auto-requires
1324f9
1324f9
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-11.1
1324f9
- First maven30 software collection build
1324f9
1324f9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.7-11
1324f9
- Mass rebuild 2013-12-27
1324f9
1324f9
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.7-10
1324f9
- Migrate away from mvn-rpmbuild (#997454)
1324f9
1324f9
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-9
1324f9
- Rebuild to regenerate API documentation
1324f9
- Resolves: CVE-2013-1571
1324f9
1324f9
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-8
1324f9
- Remove unneeded BR: maven-idea-plugin
1324f9
1324f9
* Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-7
1324f9
- Drop patch for maven-compat
1324f9
- Add missing requires on maven2 artifact and model
1324f9
- Explictly set helpPackageName in maven-plugin-plugin configuration
1324f9
- Resolves: rhbz#914167
1324f9
1324f9
* Tue Feb 26 2013 Weinan Li <weli@redhat.com> - 2.7-6
1324f9
- bz915609
1324f9
- Remove doxia dependencies
1324f9
1324f9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-5
1324f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1324f9
1324f9
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.7-4
1324f9
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
1324f9
- Replace maven BuildRequires with maven-local
1324f9
1324f9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
1324f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1324f9
1324f9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
1324f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1324f9
1324f9
* Tue Sep 20 2011 Tomas Radej <tradej@redhat.com> - 2.7-1
1324f9
- Update to upstream 2.7
1324f9
- Guidelines fixes
1324f9
1324f9
* Tue May 17 2011 Alexander Kurtakov <akurtako@redhat.com> 2.6-1
1324f9
- Update to upstream 2.6.
1324f9
- Adapt to current guidelines.
1324f9
1324f9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
1324f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1324f9
1324f9
* Fri Sep 10 2010 Weinan Li <weli@redhat.com> - 0:2.5-5
1324f9
- skip test during building
1324f9
1324f9
* Wed Jun 2 2010 Weinan Li <weli@redhat.com> - 0:2.5-4
1324f9
- remove the Epoch section
1324f9
1324f9
* Wed Jun 2 2010 Weinan Li <weli@redhat.com> - 0:2.5-3
1324f9
- Fix URL
1324f9
- Add Epoch
1324f9
1324f9
* Wed Jun 2 2010 Weinan Li <weli@redhat.com> - 2.5-2
1324f9
- depmap removed
1324f9
- Use new BRs for some already updated maven components
1324f9
- obsolete/provide maven2-plugin-deploy
1324f9
- Remove the empty line between changelog and the changelog entry
1324f9
1324f9
* Mon May 31 2010 Weinan Li <weli@redhat.com> - 2.5-1
1324f9
- Initial Package