46 lines
1.5 KiB
RPMSpec
46 lines
1.5 KiB
RPMSpec
Name: maven-filtering
|
|
Version: 3.1.1
|
|
Release: 7
|
|
Summary: A shared component for all plugins that needs to filter resources
|
|
License: ASL 2.0
|
|
URL: http://maven.apache.org/shared/maven-filtering/index.html
|
|
|
|
Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(com.google.code.findbugs:jsr305) mvn(org.apache.maven:maven-core)
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-interpolation) mvn(org.codehaus.plexus:plexus-utils)
|
|
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
|
|
%description
|
|
This component has been built from the filtering process/code in Maven Resources Plugin.
|
|
The goal is to provide a shared component for all plugins that needs to filter resources.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
%build
|
|
%mvn_build -f
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc NOTICE
|
|
%license LICENSE
|
|
%{_datadir}/java/*
|
|
%{_datadir}/javadoc/*
|
|
%{_datadir}/maven-poms/*
|
|
%{_datadir}/maven-metadata/*
|
|
|
|
|
|
%changelog
|
|
* Wed Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-7
|
|
- Package init
|