apache-parent: openEuler init
This commit is contained in:
parent
5544d2862d
commit
2f137867eb
BIN
apache-19-source-release.zip
Normal file
BIN
apache-19-source-release.zip
Normal file
Binary file not shown.
33
apache-parent.spec
Normal file
33
apache-parent.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user