!1 apache-parent: openEuler init

Merge pull request !1 from gu-gu-gu/pravite
This commit is contained in:
openeuler-ci-bot 2019-12-13 10:00:38 +08:00 committed by Gitee
commit c87650998e
2 changed files with 33 additions and 0 deletions

Binary file not shown.

33
apache-parent.spec Normal file
View File

@ -0,0 +1,33 @@
Name: apache-parent
Version: 19
Release: 4
Summary: Maven Parent POM file for Apache projects
License: ASL 2.0
URL: https://maven.apache.org/pom/index.html
Source0: http://repo1.maven.org/maven2/org/apache/apache/%{version}/apache-%{version}-source-release.zip
BuildArch: noarch
BuildRequires: maven-local mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin) mvn(org.apache:apache-jar-resource-bundle)
Requires: mvn(org.apache:apache-jar-resource-bundle)
%description
Maven parent POM (or super POM) is used to structure the project to avoid
redundancies or duplicate configurations using inheritance between pom
files. It helps in easy maintenance in long term.
%prep
%autosetup -n apache-%{version} -p1
%pom_remove_plugin :maven-site-plugin
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE
%changelog
* Thu Dec 12 2019 gulining<gulining1@huawei.com> - 19-4
- Pakcage init