|
|
c3303c6 |
Name: maven-invoker-plugin
|
|
weli |
733040e |
Version: 1.8
|
|
weli |
733040e |
Release: 1%{?dist}
|
|
|
c3303c6 |
Summary: Maven Invoker Plugin
|
|
|
c3303c6 |
|
|
|
c3303c6 |
Group: Development/Libraries
|
|
|
c3303c6 |
License: ASL 2.0
|
|
|
c3303c6 |
URL: http://maven.apache.org/plugins/maven-invoker-plugin/
|
|
|
50c0753 |
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
|
|
c3303c6 |
|
|
|
c3303c6 |
BuildArch: noarch
|
|
|
c3303c6 |
|
|
|
c3303c6 |
# Basic stuff
|
|
|
c3303c6 |
BuildRequires: jpackage-utils
|
|
|
c3303c6 |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
c3303c6 |
# Maven and its dependencies
|
|
|
50c0753 |
BuildRequires: maven
|
|
|
c3303c6 |
BuildRequires: maven-resources-plugin
|
|
|
c3303c6 |
BuildRequires: maven-plugin-plugin
|
|
|
c3303c6 |
BuildRequires: maven-compiler-plugin
|
|
|
c3303c6 |
BuildRequires: maven-install-plugin
|
|
|
c3303c6 |
BuildRequires: maven-jar-plugin
|
|
|
c3303c6 |
BuildRequires: maven-doxia
|
|
|
c3303c6 |
BuildRequires: maven-doxia-tools
|
|
|
c3303c6 |
BuildRequires: maven-doxia-sitetools
|
|
|
c3303c6 |
BuildRequires: maven-surefire-provider-junit
|
|
|
50c0753 |
BuildRequires: maven-surefire-plugin
|
|
|
c3303c6 |
BuildRequires: maven-plugin-cobertura
|
|
|
c3303c6 |
BuildRequires: maven-javadoc-plugin
|
|
|
54aeb38 |
BuildRequires: maven-script-interpreter
|
|
weli |
733040e |
BuildRequires: maven-invoker
|
|
|
b9fd64f |
|
|
|
c3303c6 |
# Others
|
|
|
c3303c6 |
BuildRequires: groovy
|
|
|
c3303c6 |
|
|
|
c3303c6 |
Requires: java
|
|
|
50c0753 |
Requires: maven
|
|
|
c3303c6 |
Requires: groovy
|
|
|
c3303c6 |
Requires: jpackage-utils
|
|
weli |
733040e |
Requires: maven-invoker
|
|
|
b9fd64f |
Requires: maven-shared-reporting-api
|
|
|
b9fd64f |
Requires: maven-shared-reporting-impl
|
|
|
54aeb38 |
Requires: maven-script-interpreter
|
|
|
c3303c6 |
|
|
|
c3303c6 |
Provides: maven2-plugin-invoker = 1:%{version}-%{release}
|
|
|
c3303c6 |
Obsoletes: maven2-plugin-invoker <= 0:2.0.8
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%description
|
|
|
c3303c6 |
The Maven Invoker Plugin is used to run a set of Maven projects. The plugin
|
|
|
c3303c6 |
can determine whether each project execution is successful, and optionally
|
|
|
c3303c6 |
can verify the output generated from a given project execution.
|
|
|
c3303c6 |
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%package javadoc
|
|
|
c3303c6 |
Group: Documentation
|
|
|
c3303c6 |
Summary: Javadoc for %{name}
|
|
|
c3303c6 |
Requires: jpackage-utils
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%description javadoc
|
|
|
c3303c6 |
API documentation for %{name}.
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%prep
|
|
|
50c0753 |
%setup -q
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%build
|
|
|
50c0753 |
mvn-rpmbuild \
|
|
|
50c0753 |
-Dmaven.test.failure.ignore=true \
|
|
|
54aeb38 |
install javadoc:aggregate
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%install
|
|
|
c3303c6 |
# jars
|
|
|
c3303c6 |
install -d -m 0755 %{buildroot}%{_javadir}
|
|
|
50c0753 |
install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
|
|
c3303c6 |
|
|
|
c3303c6 |
# poms
|
|
|
c3303c6 |
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
c3303c6 |
install -pm 644 pom.xml \
|
|
|
c3303c6 |
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
c3303c6 |
|
|
|
54aeb38 |
%add_maven_depmap JPP-%{name}.pom %{name}.jar
|
|
|
54aeb38 |
|
|
|
c3303c6 |
# javadoc
|
|
|
50c0753 |
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
50c0753 |
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%files
|
|
|
7eec4a1 |
%doc LICENSE NOTICE
|
|
|
c3303c6 |
%{_javadir}/*
|
|
|
c3303c6 |
%{_mavenpomdir}/*
|
|
|
c3303c6 |
%{_mavendepmapfragdir}/*
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%files javadoc
|
|
|
7eec4a1 |
%doc LICENSE NOTICE
|
|
|
c3303c6 |
%{_javadocdir}/%{name}
|
|
|
c3303c6 |
|
|
|
c3303c6 |
%changelog
|
|
weli |
733040e |
* Fri Jan 18 2013 Weinan Li <weli@redhat.com> 1.8-1
|
|
weli |
733040e |
- Upgrade to 1.8
|
|
weli |
733040e |
|
|
|
7eec4a1 |
* Fri Jan 4 2013 David Xie <david.scriptfan@gmail.com> 1.7-2
|
|
|
7eec4a1 |
- Add LICENSE and NOTICE files.
|
|
|
7eec4a1 |
|
|
|
234d684 |
* Tue Oct 23 2012 Alexander Kurtakov <akurtako@redhat.com> 1.7-1
|
|
|
234d684 |
- Update to latest upstream.
|
|
|
234d684 |
|
|
|
54aeb38 |
* Tue Aug 21 2012 Tomas Radej <tradej@redhat.com> - 1.6-1
|
|
|
54aeb38 |
- Updated to v1.6
|
|
|
54aeb38 |
|
|
|
0b39df8 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
|
|
|
0b39df8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
0b39df8 |
|
|
|
35a4edb |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
|
|
|
35a4edb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
35a4edb |
|
|
|
50c0753 |
* Thu Jun 9 2011 Alexander Kurtakov <akurtako@redhat.com> 1.5-5
|
|
|
50c0753 |
- Build with maven 3.x.
|
|
|
50c0753 |
- Use upstream source.
|
|
|
50c0753 |
- Guidelines fixes.
|
|
|
50c0753 |
|
|
|
9ef783b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
|
|
|
9ef783b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9ef783b |
|
|
|
b9fd64f |
* Wed Jul 21 2010 Weinan Li <weli@redhat.com> -1.5-3
|
|
|
b9fd64f |
- R: maven-shared-invoker
|
|
|
b9fd64f |
- R: maven-shared-reporting-api
|
|
|
b9fd64f |
- R: maven-shared-reporting-impl
|
|
|
b9fd64f |
- Remove BR: maven2-plugin-changes
|
|
|
b9fd64f |
- Add BR: maven-shared-invoker
|
|
|
b9fd64f |
|
|
|
c3303c6 |
* Mon Jun 7 2010 Weinan Li <weli@redhat.com> - 1.5-2
|
|
|
c3303c6 |
- Fix incoherent version in changelog
|
|
|
c3303c6 |
- BR: maven-javadoc-plugin
|
|
|
c3303c6 |
|
|
|
c3303c6 |
* Thu Jun 3 2010 Weinan Li <weli@redhat.com> - 1.5-1
|
|
|
c3303c6 |
- Initial Package
|