Blame SPECS/maven-dependency-plugin.spec

1cc18d
%global pkg_name maven-dependency-plugin
1cc18d
%{?scl:%scl_package %{pkg_name}}
1cc18d
%{?maven_find_provides_and_requires}
1cc18d
1cc18d
Name:           %{?scl_prefix}%{pkg_name}
1cc18d
Version:        2.7
1cc18d
Release:        3.14%{?dist}
1cc18d
Summary:        Plugin to manipulate, copy and unpack local and remote artifacts
1cc18d
1cc18d
License:        ASL 2.0
1cc18d
URL:            http://maven.apache.org/plugins/%{pkg_name}
1cc18d
Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
1cc18d
Patch0:         0001-Add-setThreshold-stub.patch
1cc18d
# Added apache-commons-io dep
1cc18d
Patch1:         %{pkg_name}-commons-io.patch
1cc18d
# Added maven-core dep
1cc18d
Patch2:         %{pkg_name}-core.patch
1cc18d
# Removed exception catching as it has already been done
1cc18d
# (not upstreamable)
1cc18d
Patch4:         %{pkg_name}-removed-exception-catching.patch
1cc18d
1cc18d
BuildArch:      noarch
1cc18d
1cc18d
BuildRequires: %{?scl_prefix}plexus-utils
1cc18d
BuildRequires: %{?scl_prefix_java_common}ant
1cc18d
BuildRequires: %{?scl_prefix_java_common}apache-commons-io
1cc18d
BuildRequires: %{?scl_prefix}maven-local
1cc18d
BuildRequires: %{?scl_prefix}maven-install-plugin
1cc18d
BuildRequires: %{?scl_prefix}maven-compiler-plugin
1cc18d
BuildRequires: %{?scl_prefix}maven-dependency-tree
1cc18d
BuildRequires: %{?scl_prefix}maven-plugin-plugin
1cc18d
BuildRequires: %{?scl_prefix}maven-plugin-annotations
1cc18d
BuildRequires: %{?scl_prefix}maven-resources-plugin
1cc18d
BuildRequires: %{?scl_prefix}maven-surefire-plugin
1cc18d
BuildRequires: %{?scl_prefix}maven-surefire-provider-junit
1cc18d
BuildRequires: %{?scl_prefix}maven-jar-plugin
1cc18d
BuildRequires: %{?scl_prefix}maven-javadoc-plugin
1cc18d
BuildRequires: %{?scl_prefix}maven-dependency-analyzer
1cc18d
BuildRequires: %{?scl_prefix}maven-common-artifact-filters
1cc18d
BuildRequires: %{?scl_prefix}maven-file-management
1cc18d
BuildRequires: %{?scl_prefix}maven-project
1cc18d
BuildRequires: %{?scl_prefix}maven-artifact-manager
1cc18d
BuildRequires: %{?scl_prefix}maven-plugin-testing-tools
1cc18d
1cc18d
1cc18d
%description
1cc18d
1cc18d
The dependency plugin provides the capability to manipulate
1cc18d
artifacts. It can copy and/or unpack artifacts from local or remote
1cc18d
repositories to a specified location.
1cc18d
1cc18d
%package javadoc
1cc18d
Summary:        API documentation for %{pkg_name}
1cc18d
1cc18d
%description javadoc
1cc18d
%{summary}.
1cc18d
1cc18d
1cc18d
%prep
1cc18d
%setup -q -n %{pkg_name}-%{version}
1cc18d
%{?scl:scl enable %{scl} - <<"EOF"}
1cc18d
set -e -x
1cc18d
1cc18d
%patch0 -p1
1cc18d
%patch1 -p1
1cc18d
%patch2 -p1
1cc18d
%patch4 -p1
1cc18d
1cc18d
sed -i \
1cc18d
    's:org.codehaus.classworlds.ClassRealm:org.codehaus.plexus.classworlds.realm.ClassRealm:' \
1cc18d
    src/test/java/org/apache/maven/plugin/dependency/its/AbstractDependencyPluginITCase.java
1cc18d
%{?scl:EOF}
1cc18d
1cc18d
1cc18d
%build
1cc18d
%{?scl:scl enable %{scl} - <<"EOF"}
1cc18d
set -e -x
1cc18d
# Tests fail to compile because they use unsupported legacy API.
1cc18d
%mvn_build -f
1cc18d
%{?scl:EOF}
1cc18d
1cc18d
%install
1cc18d
%{?scl:scl enable %{scl} - <<"EOF"}
1cc18d
set -e -x
1cc18d
%mvn_install
1cc18d
%{?scl:EOF}
1cc18d
1cc18d
%files -f .mfiles
1cc18d
%dir %{_mavenpomdir}/%{pkg_name}
1cc18d
%dir %{_javadir}/%{pkg_name}
1cc18d
%doc LICENSE NOTICE
1cc18d
1cc18d
%files javadoc -f .mfiles-javadoc
1cc18d
%doc LICENSE NOTICE
1cc18d
1cc18d
%changelog
1cc18d
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 2.7-3.14
1cc18d
- Fix BR on maven-local & co.
1cc18d
1cc18d
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 2.7-3.13
1cc18d
- maven33 rebuild #2
1cc18d
1cc18d
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 2.7-3.12
1cc18d
- maven33 rebuild
1cc18d
1cc18d
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-3.11
1cc18d
- Add directory ownership on %%{_mavenpomdir} subdir
1cc18d
1cc18d
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 2.7-3.10
1cc18d
- Mass rebuild 2015-01-13
1cc18d
1cc18d
* Mon Jan 12 2015 Michael Simacek <msimacek@redhat.com> - 2.7-3.9
1cc18d
- Rebuild to regenerate requires from java-common
1cc18d
1cc18d
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 2.7-3.8
1cc18d
- Mass rebuild 2015-01-06
1cc18d
1cc18d
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-3.7
1cc18d
- Mass rebuild 2014-05-26
1cc18d
1cc18d
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-3.6
1cc18d
- Mass rebuild 2014-02-19
1cc18d
1cc18d
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-3.5
1cc18d
- Mass rebuild 2014-02-18
1cc18d
1cc18d
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-3.4
1cc18d
- Rebuild to fix incorrect auto-requires
1cc18d
1cc18d
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-3.3
1cc18d
- SCL-ize requires and build-requires
1cc18d
1cc18d
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-3.2
1cc18d
- Rebuild to regenerate auto-requires
1cc18d
1cc18d
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-3.1
1cc18d
- First maven30 software collection build
1cc18d
1cc18d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.7-3
1cc18d
- Mass rebuild 2013-12-27
1cc18d
1cc18d
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7-2
1cc18d
- Rebuild to regenerate API documentation
1cc18d
- Resolves: CVE-2013-1571
1cc18d
1cc18d
* Fri Mar 15 2013 Michal Srb <msrb@redhat.com> - 2.7-1
1cc18d
- Update to upstream version 2.7
1cc18d
1cc18d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
1cc18d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1cc18d
1cc18d
* Wed Jan 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-1
1cc18d
- Update to upstream version 2.6
1cc18d
- Build with xmvn
1cc18d
- Install license files
1cc18d
1cc18d
* Tue Jan 22 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-2
1cc18d
- Remove unneeded BR: asm2
1cc18d
1cc18d
* Tue Aug 28 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-1
1cc18d
- Update to upstream version 2.5.1
1cc18d
1cc18d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
1cc18d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1cc18d
1cc18d
* Tue Feb 21 2012 Tomas Radej <tradej@redhat.com> - 2.4-1
1cc18d
- Updated to the upstream version
1cc18d
- Partially removed a test because of a legacy class use
1cc18d
- Removed exception checking as it has already been done
1cc18d
1cc18d
* Fri Jan 13 2012 Alexander Kurtakov <akurtako@redhat.com> 2.3-3
1cc18d
- Add missing BR.
1cc18d
1cc18d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
1cc18d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1cc18d
1cc18d
* Mon Jul 11 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3-1
1cc18d
- Update to latest upstream
1cc18d
1cc18d
* Tue Jun 28 2011 Alexander Kurtakov <akurtako@redhat.com> 2.2-2
1cc18d
- BR/R maven-shared-file-management.
1cc18d
1cc18d
* Tue Apr 26 2011 Alexander Kurtakov <akurtako@redhat.com> 2.2-1
1cc18d
- Update to 2.2 final release.
1cc18d
1cc18d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.4.svn949573
1cc18d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1cc18d
1cc18d
* Tue Sep  7 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-0.3.svn949573
1cc18d
- Fix test case to expect new classworlds
1cc18d
1cc18d
* Tue Jun 15 2010 Alexander Kurtakov <akurtako@redhat.com> 2.2-0.2.svn949573
1cc18d
- Add missing Requires.
1cc18d
1cc18d
* Thu Jun  3 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-0.1.svn949573
1cc18d
- Initial package