From 778cc304dc59710b993980c70d86f4adb990eb31 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Aug 22 2013 14:58:30 +0000 Subject: import maven-remote-resources-plugin-1.4-6.el7.src.rpm --- diff --git a/.maven-remote-resources-plugin.metadata b/.maven-remote-resources-plugin.metadata new file mode 100644 index 0000000..fdaf7fd --- /dev/null +++ b/.maven-remote-resources-plugin.metadata @@ -0,0 +1 @@ +6c934693ee8adc4486125b82d9a96b01cb3e7493 SOURCES/maven-remote-resources-plugin-1.4-source-release.zip diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/maven-remote-resources-plugin.spec b/SPECS/maven-remote-resources-plugin.spec new file mode 100644 index 0000000..368cde7 --- /dev/null +++ b/SPECS/maven-remote-resources-plugin.spec @@ -0,0 +1,156 @@ +Name: maven-remote-resources-plugin +Version: 1.4 +Release: 6%{?dist} +Summary: Maven Remote Resources Plugin + +Group: Development/Libraries +License: ASL 2.0 +URL: http://maven.apache.org/plugins/maven-remote-resources-plugin/ +Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip + +BuildArch: noarch + +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: maven-local +BuildRequires: maven-plugin-plugin +BuildRequires: maven-compiler-plugin +BuildRequires: maven-install-plugin +BuildRequires: maven-jar-plugin +BuildRequires: maven-javadoc-plugin +BuildRequires: maven-resources-plugin +BuildRequires: maven-surefire-plugin +BuildRequires: maven-shared-filtering +BuildRequires: plexus-containers-container-default +BuildRequires: velocity +BuildRequires: maven-artifact-resolver +BuildRequires: maven-shared-common-artifact-filters +BuildRequires: maven-shared-downloader +BuildRequires: plexus-interpolation +BuildRequires: plexus-utils +BuildRequires: plexus-velocity +BuildRequires: plexus-resources +BuildRequires: junit +BuildRequires: maven-plugin-testing-harness +BuildRequires: maven-wagon +BuildRequires: maven-shared-verifier +BuildRequires: maven-surefire-provider-junit +BuildRequires: modello + +Obsoletes: maven2-plugin-remote-resources <= 0:2.0.8 +Provides: maven2-plugin-remote-resources = 1:%{version}-%{release} + +%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 +Group: Documentation +Summary: Javadoc for %{name} + +%description javadoc +API documentation for %{name}. + + +%prep +%setup -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` + +%mvn_file : %{name} + +%build +# 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 + +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%doc DEPENDENCIES LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%doc DEPENDENCIES LICENSE NOTICE + +%changelog +* Thu Aug 22 2013 Michal Srb - 1.4-6 +- Migrate away from mvn-rpmbuild (Resolves: #997483) + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.4-5 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* 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