Name: maven-script-interpreter
Version: 1.0
Release: 7%{?dist}
Summary: Maven Script Interpreter
License: ASL 2.0
URL: http://maven.apache.org/shared/%{name}
Source0: http://central.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: groovy
BuildRequires: maven-local
BuildRequires: maven-surefire-provider-junit4
BuildRequires: maven-shared
BuildRequires: plexus-containers-component-metadata
%description
This component provides some utilities to interpret/execute some scripts for
various implementations: Groovy or BeanShell.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
API documentation for %{name}.
%prep
%setup -q
# 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 "
<executions>
<execution>
<id>create-component-descriptor</id>
<phase>generate-resources</phase>
<goals>
<goal>generate-metadata</goal>
</goals>
</execution>
</executions>
"
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%doc DEPENDENCIES LICENSE NOTICE
%dir %{_javadir}/%{name}
%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE
%changelog
* Fri Aug 1 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-7
- Add missing build-requires on maven-shared
- Resolves: rhbz#1074930
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-6
- Mass rebuild 2013-12-27
* Fri Aug 16 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-5
- Migrate away from mvn-rpmbuild (#997440)
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-4
- Rebuild to regenerate API documentation
- Resolves: CVE-2013-1571
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-2
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
* Tue Jul 24 2012 Tomas Radej <tradej@redhat.com> - 1.0-1
- Initial version