From da46652a9138e4de9a191ed9962ca7456923f1e5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:32:58 +0000 Subject: import rh-maven33-plexus-sec-dispatcher-1.4-13.12.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b3e168 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/plexus-sec-dispatcher-1.4.tar.bz2 diff --git a/.rh-maven33-plexus-sec-dispatcher.metadata b/.rh-maven33-plexus-sec-dispatcher.metadata new file mode 100644 index 0000000..dd63579 --- /dev/null +++ b/.rh-maven33-plexus-sec-dispatcher.metadata @@ -0,0 +1 @@ +a9459956c9e9ad24248c332e137c59fec894e1b7 SOURCES/plexus-sec-dispatcher-1.4.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +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/plexus-sec-dispatcher.spec b/SPECS/plexus-sec-dispatcher.spec new file mode 100644 index 0000000..a941417 --- /dev/null +++ b/SPECS/plexus-sec-dispatcher.spec @@ -0,0 +1,165 @@ +%global pkg_name plexus-sec-dispatcher +%{?scl:%scl_package %{pkg_name}} +%{?maven_find_provides_and_requires} + +Name: %{?scl_prefix}%{pkg_name} +Version: 1.4 +Release: 13.12%{?dist} +Summary: Plexus Security Dispatcher Component + +License: ASL 2.0 +URL: http://spice.sonatype.org +#svn export http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4/ +#tar jcf plexus-sec-dispatcher-1.4.tar.bz2 plexus-sec-dispatcher-1.4/ +Source0: %{pkg_name}-%{version}.tar.bz2 + +BuildArch: noarch + +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix}maven-plugin-plugin +BuildRequires: %{?scl_prefix}maven-resources-plugin +BuildRequires: %{?scl_prefix}plexus-utils +BuildRequires: %{?scl_prefix}plexus-cipher +BuildRequires: %{?scl_prefix}plexus-containers-component-metadata +BuildRequires: %{?scl_prefix_java_common}junit +BuildRequires: %{?scl_prefix}forge-parent +BuildRequires: %{?scl_prefix}spice-parent +BuildRequires: %{?scl_prefix}maven-surefire-provider-junit + +%description +Plexus Security Dispatcher Component + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +API documentation for %{pkg_name}. + + +%prep +%setup -q -n %{pkg_name}-%{version} +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x + +# annotations are not available for Java 1.4, remove definition +# pom_remove_plugin doesn't handle newline in artifactId gracefully +# https://bugzilla.redhat.com/show_bug.cgi?id=998463 +sed -i '/maven-compiler-plugin/ { + N; # Add next line to buffer + s:maven-compiler-plugin\n *:maven-compiler-plugin: + }' pom.xml +%pom_remove_plugin :maven-compiler-plugin + +# use plexus-component-metadata instead of old plugin +%pom_remove_plugin :plexus-maven-plugin +%pom_add_plugin org.codehaus.plexus:plexus-component-metadata pom.xml " + + + + generate-metadata + + + +" + +%mvn_file : plexus/%{pkg_name} +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%mvn_build +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%mvn_install +%{?scl:EOF} + +%files -f .mfiles +%dir %{_mavenpomdir}/plexus +%dir %{_javadir}/plexus +%files javadoc -f .mfiles-javadoc + +%changelog +* Mon Feb 08 2016 Michal Srb - 1.4-13.12 +- Fix BR on maven-local & co. + +* Mon Jan 11 2016 Michal Srb - 1.4-13.11 +- maven33 rebuild #2 + +* Sat Jan 09 2016 Michal Srb - 1.4-13.10 +- maven33 rebuild + +* Fri Jan 16 2015 Michal Srb - 1.4-13.9 +- Fix directory ownership + +* Tue Jan 13 2015 Michael Simacek - 1.4-13.8 +- Mass rebuild 2015-01-13 + +* Tue Jan 06 2015 Michael Simacek - 1.4-13.7 +- Mass rebuild 2015-01-06 + +* Mon May 26 2014 Mikolaj Izdebski - 1.4-13.6 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.4-13.5 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.4-13.4 +- Mass rebuild 2014-02-18 + +* Fri Feb 14 2014 Mikolaj Izdebski - 1.4-13.3 +- SCL-ize build-requires + +* Thu Feb 13 2014 Mikolaj Izdebski - 1.4-13.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 1.4-13.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 1.4-13 +- Mass rebuild 2013-12-27 + +* Mon Aug 19 2013 Stanislav Ochotnicky - 1.4-12 +- Migrate away from mvn-rpmbuild (#997450) + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.4-11 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Wed Apr 10 2013 Mikolaj Izdebski - 1.4-10 +- Remove unneeded BR: plexus-container-default + +* Thu Feb 7 2013 Mikolaj Izdebski - 1.4-9 +- Remove unneeded R: spice-parent, resolves: rhbz#908584 +- Remove RPM bug workaround + +* Wed Feb 06 2013 Java SIG - 1.4-8 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Sat Jul 21 2012 Fedora Release Engineering - 1.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue May 22 2012 Stanislav Ochotnicky - 1.4-6 +- Replace plexus-maven-plugin with plexus-component-metadata + +* Sat Jan 14 2012 Fedora Release Engineering - 1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jun 23 2011 Stanislav Ochotnicky - 1.4-4 +- Fixes according to new guidelines +- Add spice-parent to Requires +- Versionless jars & javadocs +- Use maven3 to build + +* Wed Feb 09 2011 Fedora Release Engineering - 1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jun 04 2010 Hui Wang - 1.4-2 +- Fixed url + +* Fri May 21 2010 Hui Wang - 1.4-1 +- Initial version of the package