%{?scl:%scl_package maven-remote-resources-plugin} %{!?scl:%global pkg_name %{name}} Name: %{?scl_prefix}maven-remote-resources-plugin Version: 1.4 Release: 12.2%{?dist} Summary: Maven Remote Resources Plugin License: ASL 2.0 URL: http://maven.apache.org/plugins/maven-remote-resources-plugin/ BuildArch: noarch Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip BuildRequires: %{?scl_prefix}maven-local BuildRequires: %{?scl_prefix}mvn(junit:junit) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-artifact) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-core) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-model) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-monitor) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-project) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-settings) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugins:maven-plugins:pom:) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-artifact-resolver) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-common-artifact-filters) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-filtering) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-plugin-testing-harness) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-verifier) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.wagon:wagon-provider-api) BuildRequires: %{?scl_prefix}mvn(org.apache.velocity:velocity) BuildRequires: %{?scl_prefix}mvn(org.codehaus.modello:modello-maven-plugin) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-container-default) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-interpolation) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-resources) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-velocity) %description Process resources packaged in JARs that have been deployed to a remote repository. The primary use case being satisfied is the consistent inclusion of common resources in a large set of projects. Maven projects at Apache use this plug-in to satisfy licensing requirements at Apache where each project much include license and notice files for each release. %package javadoc Summary: Javadoc for %{pkg_name} %description javadoc API documentation for %{pkg_name}. %prep %setup -n %{pkg_name}-%{version} -q #Class org.apache.maven.shared.artifact.filter.collection.TransitivityFilter which ProcessRemoteResourcesMojo.java imports #is renamed as org.apache.maven.shared.artifact.filter.collection.ProjectTransitivityFilter in #the version 1.3 of maven-shared-common-artifact-filters package. sed -i "s/TransitivityFilter/Project&/" `find -name ProcessRemoteResourcesMojo.java` # fix 613582 # we now use plexus-velocity which has the correct descriptor with a hint. rm -f src/main/resources/META-INF/plexus/components.xml %build # Tests use Maven 2 APIs %mvn_build -f %install %mvn_install %files -f .mfiles %doc LICENSE NOTICE %files javadoc -f .mfiles-javadoc %doc LICENSE NOTICE %changelog * Thu Jun 22 2017 Michael Simacek - 1.4-12.2 - Mass rebuild 2017-06-22 * Wed Jun 21 2017 Java Maintainers - 1.4-12.1 - Automated package import and SCL-ization * Fri Feb 10 2017 Fedora Release Engineering - 1.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 21 2014 Mikolaj Izdebski - 1.4-8 - Update to current packaging guidelines * Tue Mar 04 2014 Stanislav Ochotnicky - 1.4-7 - Use Requires: java-headless rebuild (#1067528) * Thu Feb 20 2014 Mikolaj Izdebski - 1.4-6 - Migrate to Wagon subpackages * Sat Aug 03 2013 Fedora Release Engineering - 1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Apr 10 2013 Mikolaj Izdebski - 1.4-4 - BuildRequire newer version of Plexus container * Thu Feb 14 2013 Fedora Release Engineering - 1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 1.4-2 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Tue Jan 15 2013 Mikolaj Izdebski - 1.4-1 - Update to upstream version 1.4 * Thu Jul 19 2012 Fedora Release Engineering - 1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed May 23 2012 Tomas Radej - 1.3-1 - Updated to latest upstream release * Fri Jan 13 2012 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 7 2011 Stanislav Ochotnicky - 1.2.1-3 - Add plexus-resources to Requires * Wed Sep 07 2011 Tomas Radej - 1.2.1-2 - Added license files * Tue Sep 6 2011 Alexander Kurtakov 1.2.1-1 - Update to latest upstream release. * Tue Jul 5 2011 Alexander Kurtakov 1.2-3 - BR modello. * Tue Jul 5 2011 Alexander Kurtakov 1.2-2 - Add missing requires on maven-shared-downloader. * Thu Mar 17 2011 Alexander Kurtakov 1.2-1 - Update to upstream 1.2 release. * Tue Feb 08 2011 Fedora Release Engineering - 1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Nov 3 2010 Stanislav Ochotnicky - 1.1-7 - Fix velocity dependency in pom.xml * Thu Jul 15 2010 Stanislav Ochotnicky - 1.1-6 - Fix bug #613582 * Tue Jul 13 2010 Hui Wang - 1.1-5 - Add missing requires maven2 * Tue Jul 13 2010 Alexander Kurtakov 1.1-4 - Add missing maven-shared-artifact-resolver requires. * Tue Jul 13 2010 Hui Wang - 1.1-3 - Set '-Dmaven.test.skip=true' to fix Bug 613567 * Thu Jun 03 2010 Hui Wang - 1.1-2 - Fixed descirption line length - Added comment on patch0 - Used macro in add_to_maven_depmap * Fri May 21 2010 Hui Wang - 1.1-1 - Initial version of the package