082cf1
Name:           exec-maven-plugin
082cf1
Version:        1.2.1
082cf1
Release:        13%{?dist}
082cf1
Summary:        Exec Maven Plugin
082cf1
082cf1
Group:          Development/Libraries
082cf1
# Most of the files are under ASL 2.0 license, but there are some files
082cf1
# with no license specified. The project contains MIT license text,
082cf1
# but there is no file which uses such a license.
082cf1
License:        ASL 2.0 and MIT
082cf1
URL:            http://mojo.codehaus.org/exec-maven-plugin
082cf1
Source0:        http://repo1.maven.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.2.1/exec-maven-plugin-1.2.1-source-release.zip
082cf1
Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
082cf1
BuildArch:      noarch
082cf1
082cf1
BuildRequires:  maven-local
082cf1
BuildRequires:  maven-invoker-plugin
082cf1
BuildRequires:  apache-commons-exec
082cf1
082cf1
Obsoletes:      maven-plugin-exec < %{version}-%{release}
082cf1
Provides:       maven-plugin-exec = %{version}-%{release}
082cf1
082cf1
%description
082cf1
A plugin to allow execution of system and Java programs
082cf1
082cf1
%package javadoc
082cf1
Group:          Documentation
082cf1
Summary:        Javadoc for %{name}
082cf1
082cf1
%description javadoc
082cf1
API documentation for %{name}.
082cf1
082cf1
082cf1
%prep
082cf1
%setup -q -n exec-maven-plugin-%{version}
082cf1
082cf1
sed -i 's/\r$//' LICENSE.txt
082cf1
find . -name *.jar -delete
082cf1
082cf1
cp -p %{SOURCE1} .
082cf1
082cf1
%pom_add_dep org.apache.maven:maven-compat pom.xml
082cf1
%pom_remove_plugin :animal-sniffer-maven-plugin pom.xml
082cf1
082cf1
%build
082cf1
# There are missing dependencies for tests
082cf1
%mvn_build -f
082cf1
082cf1
%install
082cf1
%mvn_install
082cf1
082cf1
%files -f .mfiles
082cf1
%doc LICENSE.txt LICENSE-2.0.txt
082cf1
%dir %{_javadir}/%{name}
082cf1
082cf1
%files javadoc -f .mfiles-javadoc
082cf1
%doc LICENSE.txt LICENSE-2.0.txt
082cf1
082cf1
%changelog
082cf1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.1-13
082cf1
- Mass rebuild 2013-12-27
082cf1
082cf1
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-12
082cf1
- Rebuild to regenerate API documentation
082cf1
- Resolves: CVE-2013-1571
082cf1
082cf1
* Wed Jun  5 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2.1-11
082cf1
- Clean up BuildRequires
082cf1
082cf1
* Thu Feb 14 2013 Michal Srb <msrb@redhat.com> - 1.2.1-10
082cf1
- Disable animal-sniffer plugin
082cf1
082cf1
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-9
082cf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
082cf1
082cf1
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.2.1-8
082cf1
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
082cf1
- Replace maven BuildRequires with maven-local
082cf1
082cf1
* Fri Jan 11 2013 Michal Srb <msrb@redhat.com> - 1.2.1-7
082cf1
- Fixed rpmlint warnings
082cf1
- Remove bundled JAR files before building the package
082cf1
082cf1
* Wed Jan 09 2013 Michal Srb <msrb@redhat.com> - 1.2.1-6
082cf1
- maven-plugin-exec renamed (Resolves: #893451)
082cf1
- Migrated to xmvn
082cf1
082cf1
* Wed Nov 28 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-5
082cf1
- Fix license tag
082cf1
- Install license files
082cf1
- Resolves: rhbz#880290
082cf1
082cf1
* Wed Nov 28 2012 Tomas Radej <tradej@redhat.com> - 1.2.1-4
082cf1
- Removed (B)R on plexus-container-default
082cf1
082cf1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
082cf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
082cf1
082cf1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
082cf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
082cf1
082cf1
* Tue Dec 6 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2.1-1
082cf1
- Update to latest upstream.
082cf1
082cf1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
082cf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
082cf1
082cf1
* Fri Sep 11 2009 Alexander Kurtakov <akurtako@gmail.com> 1.1-1
082cf1
- Initial package.