Blame SPECS/maven-site-plugin.spec

f63166
%global pkg_name maven-site-plugin
f63166
%{?scl:%scl_package %{pkg_name}}
f63166
%{?maven_find_provides_and_requires}
f63166
f63166
Name:           %{?scl_prefix}%{pkg_name}
f63166
Version:        3.2
f63166
Release:        7.13%{?dist}
f63166
Summary:        Maven Site Plugin
f63166
f63166
License:        ASL 2.0
f63166
URL:            http://maven.apache.org/plugins/maven-site-plugin/
f63166
Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
f63166
f63166
Patch0:         0001-Port-to-jetty-9.patch
f63166
Patch1:         0001-Fix-jetty-dependencies.patch
f63166
# Jetty is needed only in interactive mode of maven-site-plugin. Change
f63166
# dependency scope from compile to provided to reduce dependency bloat.
f63166
Patch2:         %{pkg_name}-jetty-provided.patch
f63166
f63166
BuildArch: noarch
f63166
f63166
BuildRequires: %{?scl_prefix}maven-local
f63166
BuildRequires: %{?scl_prefix}maven-artifact-manager
f63166
BuildRequires: %{?scl_prefix}maven-plugin-plugin
f63166
BuildRequires: %{?scl_prefix}maven-assembly-plugin
f63166
BuildRequires: %{?scl_prefix}maven-compiler-plugin
f63166
BuildRequires: %{?scl_prefix}maven-install-plugin
f63166
BuildRequires: %{?scl_prefix}maven-javadoc-plugin
f63166
BuildRequires: %{?scl_prefix}maven-jar-plugin
f63166
BuildRequires: %{?scl_prefix}maven-resources-plugin
f63166
BuildRequires: %{?scl_prefix}maven-doxia-sink-api
f63166
BuildRequires: %{?scl_prefix}maven-doxia-logging-api
f63166
BuildRequires: %{?scl_prefix}maven-doxia-core
f63166
BuildRequires: %{?scl_prefix}maven-doxia-module-xhtml
f63166
BuildRequires: %{?scl_prefix}maven-doxia-module-apt
f63166
BuildRequires: %{?scl_prefix}maven-doxia-module-xdoc
f63166
BuildRequires: %{?scl_prefix}maven-doxia-module-fml
f63166
BuildRequires: %{?scl_prefix}maven-doxia-sitetools
f63166
BuildRequires: %{?scl_prefix}maven-doxia-tools >= 1.4-8
f63166
BuildRequires: %{?scl_prefix}maven-project
f63166
BuildRequires: %{?scl_prefix}maven-surefire-plugin
f63166
BuildRequires: %{?scl_prefix}maven-surefire-provider-junit
f63166
BuildRequires: %{?scl_prefix}maven-shade-plugin
f63166
BuildRequires: %{?scl_prefix}maven-plugin-testing-harness
f63166
BuildRequires: %{?scl_prefix}maven-wagon-provider-api
f63166
BuildRequires: %{?scl_prefix}maven-reporting-exec
f63166
BuildRequires: %{?scl_prefix}plexus-containers-component-metadata
f63166
BuildRequires: %{?scl_prefix_java_common}jetty-client >= 9.0.0-0.1.RC0
f63166
BuildRequires: %{?scl_prefix_java_common}jetty-server >= 9.0.0-0.1.RC0
f63166
BuildRequires: %{?scl_prefix_java_common}jetty-servlet >= 9.0.0-0.1.RC0
f63166
BuildRequires: %{?scl_prefix_java_common}jetty-util >= 9.0.0-0.1.RC0
f63166
BuildRequires: %{?scl_prefix_java_common}jetty-webapp >= 9.0.0-0.1.RC0
f63166
BuildRequires: %{?scl_prefix_java_common}tomcat-servlet-3.0-api
f63166
BuildRequires: %{?scl_prefix}plexus-archiver
f63166
BuildRequires: %{?scl_prefix}plexus-containers-container-default
f63166
BuildRequires: %{?scl_prefix}plexus-i18n
f63166
BuildRequires: %{?scl_prefix}plexus-velocity
f63166
BuildRequires: %{?scl_prefix}plexus-utils
f63166
BuildRequires: %{?scl_prefix}jetty-parent
f63166
f63166
f63166
%description
f63166
The Maven Site Plugin is a plugin that generates a site for the current project.
f63166
f63166
%package javadoc
f63166
Summary:        Javadoc for %{pkg_name}
f63166
f63166
%description javadoc
f63166
API documentation for %{pkg_name}.
f63166
f63166
%prep
f63166
%setup -q -n %{pkg_name}-%{version}
f63166
%{?scl:scl enable %{scl} - <<"EOF"}
f63166
set -e -x
f63166
%patch0 -p1
f63166
%patch1 -p1
f63166
%patch2
f63166
%{?scl:EOF}
f63166
f63166
%build
f63166
%{?scl:scl enable %{scl} - <<"EOF"}
f63166
set -e -x
f63166
# skipping tests because we need to fix them first for jetty update
f63166
%mvn_build -f
f63166
%{?scl:EOF}
f63166
f63166
%install
f63166
%{?scl:scl enable %{scl} - <<"EOF"}
f63166
set -e -x
f63166
%mvn_install
f63166
%{?scl:EOF}
f63166
f63166
%files -f .mfiles
f63166
%{_javadir}/%{pkg_name}
f63166
%dir %{_mavenpomdir}/%{pkg_name}
f63166
%doc LICENSE NOTICE
f63166
f63166
%files javadoc -f .mfiles-javadoc
f63166
%doc LICENSE NOTICE
f63166
f63166
%changelog
f63166
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 3.2-7.13
f63166
- Fix BR on maven-local & co.
f63166
f63166
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 3.2-7.12
f63166
- maven33 rebuild #2
f63166
f63166
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 3.2-7.11
f63166
- maven33 rebuild
f63166
f63166
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7.10
f63166
- Add directory ownership on %%{_mavenpomdir} subdir
f63166
f63166
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 3.2-7.9
f63166
- Mass rebuild 2015-01-13
f63166
f63166
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 3.2-7.8
f63166
- Mass rebuild 2015-01-06
f63166
f63166
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7.7
f63166
- Mass rebuild 2014-05-26
f63166
f63166
* Thu Feb 20 2014 Michael Simacek <msimacek@redhat.com> - 3.2-7.6
f63166
- Adjust maven-wagon R/BR
f63166
f63166
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7.5
f63166
- Mass rebuild 2014-02-19
f63166
f63166
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7.4
f63166
- Mass rebuild 2014-02-18
f63166
f63166
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7.3
f63166
- SCL-ize requires and build-requires
f63166
f63166
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7.2
f63166
- Rebuild to regenerate auto-requires
f63166
f63166
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7.1
f63166
- First maven30 software collection build
f63166
f63166
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.2-7
f63166
- Mass rebuild 2013-12-27
f63166
f63166
* Wed Nov 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-6
f63166
- Remove BR on main jetty package
f63166
f63166
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-5
f63166
- Rebuild to regenerate API documentation
f63166
- Resolves: CVE-2013-1571
f63166
f63166
* Fri Mar  1 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-4
f63166
- Merge branch 'port-to-jetty-9' into master
f63166
f63166
* Tue Feb 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-3
f63166
- Change jetty dependency scope to provided
f63166
f63166
* Mon Feb 25 2013 Michal Srb <msrb@redhat.com> - 3.2-3
f63166
- Port to jetty 9.0.0
f63166
f63166
* Thu Feb 07 2013 Michal Srb <msrb@redhat.com> - 3.2-2
f63166
- Migrate from maven-doxia to doxia subpackages
f63166
f63166
* Thu Jan 24 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
f63166
- Update to upstream version 3.2
f63166
- Build with xmvn
f63166
f63166
* Tue Oct 30 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-3
f63166
- Don't require full jetty, only minimal set of subpackages
f63166
f63166
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
f63166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f63166
f63166
* Wed Jun 20 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-1
f63166
- Updatw to upstream 3.1
f63166
f63166
* Wed Apr 18 2012 Alexander Kurtakov <akurtako@redhat.com> 3.0-5
f63166
- BR/R servlet 3.
f63166
f63166
* Thu Jan 26 2012 Alexander Kurtakov <akurtako@redhat.com> 3.0-4
f63166
- Add BR/R on jetty-parent.
f63166
f63166
* Thu Jan 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0-3
f63166
- Port for jetty 8.1.0
f63166
- Small spec cleanups
f63166
f63166
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-2
f63166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f63166
f63166
* Fri Aug 12 2011 Alexander Kurtakov <akurtako@redhat.com> 3.0-1
f63166
- Update to upstream 3.0 release.
f63166
f63166
* Thu Jul 21 2011 Jaromir Capik <jcapik@redhat.com> - 2.3-3
f63166
- Removal of plexus-maven-plugin dependency (not needed)
f63166
f63166
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3-2
f63166
- Add several missing things to (Build)Requires
f63166
- Fix build for maven3-only buildroot
f63166
f63166
* Wed May 25 2011 Alexander Kurtakov <akurtako@redhat.com> 2.3-1
f63166
- Update to new upstream version.
f63166
f63166
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
f63166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f63166
f63166
* Wed Jan 26 2011 Alexander Kurtakov <akurtako@redhat.com> 2.2-1
f63166
- Update to new upstream version.
f63166
f63166
* Tue Jun 15 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1-3
f63166
- Requires maven-doxia-tools.
f63166
f63166
* Tue May 18 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1-2
f63166
- Fix requires.
f63166
f63166
* Tue May 18 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1-1
f63166
- Initial package.