b93771
Name:           plexus-sec-dispatcher
b93771
Version:        1.4
2640d3
Release:        13%{?dist}
b93771
Summary:        Plexus Security Dispatcher Component
b93771
b93771
License:        ASL 2.0
b93771
URL:            http://spice.sonatype.org
b93771
#svn export http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4/
b93771
#tar jcf plexus-sec-dispatcher-1.4.tar.bz2 plexus-sec-dispatcher-1.4/
b93771
Source0:        %{name}-%{version}.tar.bz2
b93771
b93771
BuildArch: noarch
b93771
b93771
BuildRequires: java-devel >= 1:1.6.0
b93771
BuildRequires: maven-local
b93771
BuildRequires: maven-plugin-plugin
b93771
BuildRequires: maven-resources-plugin
b93771
BuildRequires: plexus-utils
b93771
BuildRequires: plexus-cipher
b93771
BuildRequires: plexus-containers-component-metadata
b93771
BuildRequires: junit
b93771
BuildRequires: forge-parent
b93771
BuildRequires: spice-parent
b93771
BuildRequires: maven-surefire-provider-junit
b93771
b93771
%description
b93771
Plexus Security Dispatcher Component
b93771
b93771
%package javadoc
b93771
Summary:        Javadoc for %{name}
b93771
b93771
%description javadoc
b93771
API documentation for %{name}.
b93771
b93771
b93771
%prep
b93771
%setup -q
b93771
b93771
# annotations are not available for Java 1.4, remove definition
b93771
# pom_remove_plugin doesn't handle newline in artifactId gracefully
b93771
# https://bugzilla.redhat.com/show_bug.cgi?id=998463
b93771
sed -i '/maven-compiler-plugin/ {
b93771
    N; # Add next line to buffer
b93771
    s:maven-compiler-plugin\n *:maven-compiler-plugin:
b93771
    }' pom.xml
b93771
%pom_remove_plugin :maven-compiler-plugin
b93771
b93771
# use plexus-component-metadata instead of old plugin
b93771
%pom_remove_plugin :plexus-maven-plugin
b93771
%pom_add_plugin org.codehaus.plexus:plexus-component-metadata pom.xml "
b93771
         <executions>
b93771
           <execution>
b93771
             <goals>
b93771
              <goal>generate-metadata</goal>
b93771
             </goals>
b93771
           </execution>
b93771
         </executions>
b93771
"
b93771
b93771
%mvn_file : plexus/%{name}
b93771
b93771
%build
b93771
%mvn_build
b93771
b93771
%install
b93771
%mvn_install
b93771
b93771
%files -f .mfiles
b93771
%files javadoc -f .mfiles-javadoc
b93771
b93771
%changelog
2640d3
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4-13
2640d3
- Mass rebuild 2013-12-27
2640d3
b93771
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-12
b93771
- Migrate away from mvn-rpmbuild (#997450)
b93771
b93771
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11
b93771
- Rebuild to regenerate API documentation
b93771
- Resolves: CVE-2013-1571
b93771
b93771
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-10
b93771
- Remove unneeded BR: plexus-container-default
b93771
b93771
* Thu Feb  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-9
b93771
- Remove unneeded R: spice-parent, resolves: rhbz#908584
b93771
- Remove RPM bug workaround
b93771
b93771
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-8
b93771
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
b93771
- Replace maven BuildRequires with maven-local
b93771
b93771
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-7
b93771
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b93771
b93771
* Tue May 22 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-6
b93771
- Replace plexus-maven-plugin with plexus-component-metadata
b93771
b93771
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
b93771
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b93771
b93771
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-4
b93771
- Fixes according to new guidelines
b93771
- Add spice-parent to Requires
b93771
- Versionless jars & javadocs
b93771
- Use maven3 to build
b93771
b93771
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
b93771
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b93771
b93771
* Fri Jun 04 2010 Hui Wang <huwang@redhat.com> - 1.4-2
b93771
- Fixed url
b93771
b93771
* Fri May 21 2010 Hui Wang <huwang@redhat.com> - 1.4-1
b93771
- Initial version of the package