Blame SPECS/maven-shade-plugin.spec

c625d2
%{?scl:%scl_package maven-shade-plugin}
c625d2
%{!?scl:%global pkg_name %{name}}
c625d2
c625d2
Name:           %{?scl_prefix}maven-shade-plugin
c625d2
Version:        3.0.0
c625d2
Release:        2.2%{?dist}
c625d2
Summary:        This plugin provides the capability to package the artifact in an uber-jar
c625d2
License:        ASL 2.0
c625d2
URL:            http://maven.apache.org/plugins/%{pkg_name}
c625d2
BuildArch:      noarch
c625d2
c625d2
Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
c625d2
c625d2
Patch0:         0001-Port-to-maven-dependency-tree-3.0.patch
c625d2
c625d2
BuildRequires:  %{?scl_prefix}maven-local
c625d2
BuildRequires:  %{?scl_prefix}mvn(com.google.guava:guava)
c625d2
BuildRequires:  %{?scl_prefix}mvn(commons-io:commons-io)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-artifact)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-core)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-model)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugins:maven-plugins:pom:)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.shared:maven-artifact-transfer)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.shared:maven-dependency-tree)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-annotations)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-metadata)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.jdom:jdom)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.ow2.asm:asm)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.ow2.asm:asm-commons)
c625d2
BuildRequires:  %{?scl_prefix}mvn(org.vafer:jdependency)
c625d2
c625d2
%description
c625d2
This plugin provides the capability to package the artifact in an
c625d2
uber-jar, including its dependencies and to shade - i.e. rename - the
c625d2
packages of some of the dependencies.
c625d2
c625d2
%package javadoc
c625d2
Summary:        API documentation for %{pkg_name}
c625d2
c625d2
%description javadoc
c625d2
%{summary}.
c625d2
c625d2
%prep
c625d2
%setup -n %{pkg_name}-%{version} -q
c625d2
%patch0 -p1
c625d2
rm src/test/jars/plexus-utils-1.4.1.jar
c625d2
ln -s $(build-classpath plexus/utils) src/test/jars/plexus-utils-1.4.1.jar
c625d2
c625d2
%build
c625d2
# A class from aopalliance is not found. Simply adding BR does not solve it
c625d2
%mvn_build -f
c625d2
c625d2
%install
c625d2
%mvn_install
c625d2
c625d2
%files -f .mfiles
c625d2
%license LICENSE NOTICE
c625d2
c625d2
%files javadoc -f .mfiles-javadoc
c625d2
%license LICENSE NOTICE
c625d2
c625d2
%changelog
c625d2
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 3.0.0-2.2
c625d2
- Mass rebuild 2017-06-22
c625d2
c625d2
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 3.0.0-2.1
c625d2
- Automated package import and SCL-ization
c625d2
c625d2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
c625d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c625d2
c625d2
* Mon Jan 30 2017 Michael Simacek <msimacek@redhat.com> - 3.0.0-1
c625d2
- Update to upstream version 3.0.0
c625d2
c625d2
* Mon May 02 2016 Michael Simacek <msimacek@redhat.com> - 2.4.3-1
c625d2
- Update to upstream version 2.4.3
c625d2
c625d2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
c625d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c625d2
c625d2
* Fri Oct 30 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.2-1
c625d2
- Update to upstream version 2.4.2
c625d2
c625d2
* Mon Oct 12 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.1-3
c625d2
- Fix Maven 3 patch
c625d2
c625d2
* Mon Oct 12 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.1-2
c625d2
- Port to maven-dependency-tree 3.0
c625d2
c625d2
* Thu Jul 23 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.1-1
c625d2
- Update to upstream version 2.4.1
c625d2
c625d2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
c625d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c625d2
c625d2
* Fri Jun 12 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4-1
c625d2
- Update to upstream version 2.4
c625d2
c625d2
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3-5
c625d2
- Remove legacy Obsoletes/Provides for maven2 plugin
c625d2
c625d2
* Mon Aug  4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3-4
c625d2
- Fix build-requires on parent POM
c625d2
c625d2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
c625d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c625d2
c625d2
* Mon May 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3-2
c625d2
- Add patch for MSHADE-168
c625d2
- Resolves: rhbz#1096583
c625d2
c625d2
* Fri May  2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3-1
c625d2
- Update to upstream version 2.3
c625d2
c625d2
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-2
c625d2
- Use Requires: java-headless rebuild (#1067528)
c625d2
c625d2
* Wed Dec  4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-1
c625d2
- Update to upstream version 2.2
c625d2
c625d2
* Tue May 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-1
c625d2
- Update to upstream version 2.1
c625d2
c625d2
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0-4
c625d2
- Build with xmvn
c625d2
c625d2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-3
c625d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c625d2
c625d2
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.0-2
c625d2
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
c625d2
- Replace maven BuildRequires with maven-local
c625d2
c625d2
* Thu Dec 13 2012 Tomas Radej <tradej@redhat.com> - 2.0-1
c625d2
- Update to upstream 2.0
c625d2
c625d2
* Wed Nov 14 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.1-3
c625d2
- Install NOTICE file with javadoc package
c625d2
c625d2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-2
c625d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c625d2
c625d2
* Thu Jul 5 2012 Alexander Kurtakov <akurtako@redhat.com> 1.7.1-1
c625d2
- Update to upstream 1.7.1.
c625d2
c625d2
* Wed Jun 20 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-1
c625d2
- Update to upstream 1.7
c625d2
c625d2
* Fri Apr 6 2012 Alexander Kurtakov <akurtako@redhat.com> 1.6-1
c625d2
- Update to latest upstream release.
c625d2
c625d2
* Mon Mar 05 2012 Jaromir Capik <jcapik@redhat.com> - 1.5-4
c625d2
- Migration to plexus-containers-component-metadata
c625d2
c625d2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
c625d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c625d2
c625d2
* Wed Nov 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-2
c625d2
- Fix depmap macro call
c625d2
c625d2
* Tue Nov 1 2011 Alexander Kurtakov <akurtako@redhat.com> 1.5-1
c625d2
- Update to upstream 1.5 release.
c625d2
c625d2
* Thu Jun 9 2011 Alexander Kurtakov <akurtako@redhat.com> 1.4-4
c625d2
- Build with maven 3.x.
c625d2
- Use upstream source.
c625d2
- Guidelines fixes.
c625d2
c625d2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
c625d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c625d2
c625d2
* Wed Jan 26 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-2
c625d2
- Add jdependency also to Requires
c625d2
c625d2
* Thu Oct 14 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.4-1
c625d2
- Update to 1.4
c625d2
- Add BR on jdependency >= 0.6
c625d2
- Add patch to add dependency on maven-artifact-manager
c625d2
c625d2
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3.3-2
c625d2
- Replace plexus utils jar with symlink
c625d2
- Create MAVEN_REPO_LOCAL dir before calling maven
c625d2
c625d2
* Tue Jun 22 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3.3-1
c625d2
- Initial package