mojo-parent/mojo-parent.spec
2020-03-15 19:42:49 +08:00

38 lines
899 B
RPMSpec

Name: mojo-parent
Version: 40
Release: 8
Summary: Codehaus MOJO Parent
License: ASL 2.0
URL: http://www.mojohaus.org/mojo-parent/
Source0: https://github.com/mojohaus/mojo-parent/archive/mojo-parent-40.tar.gz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch
BuildRequires: maven-local
%description
Parent POM for all MojoHaus hosted Apache Maven plugins and components.
%prep
%autosetup -n mojo-parent-mojo-parent-40
%pom_remove_plugin :cobertura-maven-plugin
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin :maven-site-plugin
%pom_remove_plugin :maven-checkstyle-plugin
cp %SOURCE1 .
%build
%mvn_alias : org.codehaus.mojo:mojo
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE-2.0.txt
%changelog
* Sun Mar 15 2020 zhangtao<zhangtao221@huawei.com> - 40-8
- Pakcage init