Blame SPECS/maven-script-interpreter.spec

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