Blame SPECS/maven-invoker.spec

39b569
%{?scl:%scl_package maven-invoker}
39b569
%{!?scl:%global pkg_name %{name}}
39b569
39b569
Name:           %{?scl_prefix}maven-invoker
39b569
Version:        2.2
39b569
Release:        5.2%{?dist}
39b569
Summary:        Fires a maven build in a clean environment
39b569
License:        ASL 2.0
39b569
URL:            http://maven.apache.org/shared/maven-invoker/
39b569
BuildArch:      noarch
39b569
39b569
Source0:        http://repo1.maven.org/maven2/org/apache/maven/shared/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
39b569
39b569
# Patch rejected upstream
39b569
Patch1:         %{pkg_name}-MSHARED-279.patch
39b569
39b569
BuildRequires:  %{?scl_prefix}maven-local
39b569
BuildRequires:  %{?scl_prefix}mvn(junit:junit)
39b569
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.shared:maven-shared-components:pom:)
39b569
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-annotations)
39b569
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-metadata)
39b569
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
39b569
# Required by tests
39b569
BuildRequires:  %{?scl_prefix}maven-antrun-plugin
39b569
BuildRequires:  %{?scl_prefix}maven-clean-plugin
39b569
39b569
%description
39b569
This API is concerned with firing a Maven build in a new JVM. It accomplishes
39b569
its task by building up a conventional Maven command line from options given in
39b569
the current request, along with those global options specified in the invoker
39b569
itself. Once it has the command line, the invoker will execute it, and capture
39b569
the resulting exit code or any exception thrown to signal a failure to execute.
39b569
Input/output control can be specified using an InputStream and up to two
39b569
InvocationOutputHandlers.
39b569
39b569
This is a replacement package for maven-shared-invoker
39b569
39b569
%package javadoc
39b569
Summary:        Javadoc for %{pkg_name}
39b569
    
39b569
39b569
%description javadoc
39b569
API documentation for %{pkg_name}.
39b569
39b569
%prep
39b569
%setup -n %{pkg_name}-%{version} -q
39b569
%patch1 -p1
39b569
39b569
%build
39b569
%mvn_build
39b569
39b569
%install
39b569
%mvn_install
39b569
39b569
%files -f .mfiles
39b569
%doc LICENSE NOTICE
39b569
39b569
%files javadoc -f .mfiles-javadoc
39b569
%doc LICENSE NOTICE
39b569
39b569
%changelog
39b569
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 2.2-5.2
39b569
- Mass rebuild 2017-06-22
39b569
39b569
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 2.2-5.1
39b569
- Automated package import and SCL-ization
39b569
39b569
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-5
39b569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
39b569
39b569
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-4
39b569
- Regenerate build-requires
39b569
- Remove old obsoletes/provides
39b569
39b569
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
39b569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
39b569
39b569
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
39b569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
39b569
39b569
* Wed Mar 25 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-1
39b569
- Update to upstream version 2.2
39b569
39b569
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-11
39b569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
39b569
39b569
* Mon Sep 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.1-10
39b569
- Fix failing tests
39b569
39b569
* Mon Sep 23 2013 Michal Srb <msrb@redhat.com> - 2.1.1-9
39b569
- Remove some tests which fail on koji
39b569
39b569
* Mon Sep 23 2013 Michal Srb <msrb@redhat.com> - 2.1.1-8
39b569
- Migrate to XMvn
39b569
39b569
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-7
39b569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
39b569
39b569
* Wed Mar 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.1-6
39b569
- Add patch for MSHARED-278, resolves rhbz#921068
39b569
- Add patch for MSHARED-279, resolves rhbz#921067
39b569
39b569
* Wed Feb 20 2013 Tomas Radej <tradej@redhat.com> - 2.1.1-5
39b569
- Added B/R on maven-shared
39b569
39b569
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-4
39b569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
39b569
39b569
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.1.1-3
39b569
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
39b569
- Replace maven BuildRequires with maven-local
39b569
39b569
* Mon Jan 14 2013 Tomas Radej <tradej@redhat.com> - 2.1.1-2
39b569
- Disabled tests
39b569
39b569
* Fri Jan 11 2013 Tomas Radej <tradej@redhat.com> - 2.1.1-1
39b569
- Initial version