53 lines
1.8 KiB
RPMSpec
53 lines
1.8 KiB
RPMSpec
Name: exec-maven-plugin
|
|
Version: 1.6.0
|
|
Release: 5
|
|
Summary: Exec Maven Plugin
|
|
License: ASL 2.0
|
|
URL: https://www.mojohaus.org/exec-maven-plugin
|
|
Source0: https://github.com/mojohaus/exec-maven-plugin/archive/exec-maven-plugin-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: maven-local mvn(org.apache.commons:commons-exec) mvn(org.apache.maven:maven-artifact:2.2.1)
|
|
BuildRequires: mvn(org.apache.maven:maven-artifact-manager) mvn(org.apache.maven:maven-core)
|
|
BuildRequires: mvn(org.apache.maven:maven-model:2.2.1) mvn(org.apache.maven:maven-plugin-api)
|
|
BuildRequires: mvn(org.apache.maven:maven-project) mvn(org.apache.maven:maven-toolchain)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
|
BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) mvn(org.codehaus.plexus:plexus-utils)
|
|
|
|
Obsoletes: maven-plugin-exec < %{version}-%{release}
|
|
Provides: maven-plugin-exec = %{version}-%{release}
|
|
|
|
%description
|
|
This plugin provides 2 goals to help execute system and java programs.
|
|
|
|
%package help
|
|
Summary: Help for %{name}
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
|
|
%description help
|
|
Help documentation for %{name}.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{name}-%{version} -p1
|
|
find . -name *.jar -delete
|
|
|
|
%pom_remove_plugin :animal-sniffer-maven-plugin
|
|
|
|
%build
|
|
%mvn_build -f
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc LICENSE.txt
|
|
%dir %{_javadir}/%{name}
|
|
|
|
%files help -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Thu Mar 12 2020 Senlin Xia <xiasenlin1@huawei.com> - 1.6.0-5
|
|
- package init
|