52 lines
1.5 KiB
RPMSpec
52 lines
1.5 KiB
RPMSpec
Name: maven-parent
|
|
Version: 34
|
|
Release: 1
|
|
Summary: Maven project parent POM
|
|
License: ASL 2.0
|
|
URL: http://maven.apache.org
|
|
Source0: https://repo1.maven.org/maven2/org/apache/maven/maven-parent/%{version}/maven-parent-%{version}-source-release.zip
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local
|
|
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
|
BuildRequires: mvn(org.apache:apache:pom:)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
|
Provides: maven-shared = %{version}-%{release}
|
|
Obsoletes: maven-shared <= 22-9
|
|
|
|
Provides: maven-plugins-pom = %{version}-%{release}
|
|
Obsoletes: maven-plugins-pom <= 28-9
|
|
|
|
Patch1: remove_javadoc_plugin_taglet.patch
|
|
|
|
%description
|
|
This POM is the common parent of all of the Maven components in the Apache Maven project.
|
|
|
|
%prep
|
|
%autosetup -n maven-parent-%{version} -p1
|
|
|
|
%pom_remove_plugin :apache-rat-plugin
|
|
%pom_remove_plugin :maven-checkstyle-plugin
|
|
%pom_remove_plugin -r :maven-enforcer-plugin
|
|
%pom_remove_plugin :maven-scm-publish-plugin
|
|
%pom_remove_plugin :maven-site-plugin
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc LICENSE NOTICE
|
|
|
|
%changelog
|
|
* Thu Apr 1 2021 zhanghua <zhanghua40@huawei.com> - 34-1
|
|
- update to version 34.
|
|
- Obsolete maven-shared and maven-plugins-pom.
|
|
|
|
* Thu Dec 12 2019 Ling Yang <lingyang2@huawei.com> - 27-7
|
|
- Package init
|