53 lines
2.3 KiB
RPMSpec
53 lines
2.3 KiB
RPMSpec
Name: maven-remote-resources-plugin
|
|
Version: 1.5
|
|
Release: 4
|
|
Summary: Maven Remote Resources Plugin
|
|
License: ASL 2.0
|
|
URL: http://maven.apache.org/plugins/maven-remote-resources-plugin/
|
|
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
|
|
|
BuildRequires: maven-local mvn(org.apache.maven:maven-artifact:2.2.1) mvn(org.apache.maven:maven-core)
|
|
BuildRequires: mvn(org.apache.maven:maven-core) mvn(org.apache.maven:maven-model:2.2.1) mvn(org.apache.maven:maven-monitor)
|
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api) mvn(org.apache.maven:maven-project)
|
|
BuildRequires: mvn(org.apache.maven:maven-settings:2.2.1) mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-artifact-resolver) mvn(org.apache.maven.shared:maven-common-artifact-filters)
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-filtering) mvn(org.apache.velocity:velocity)
|
|
BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin) mvn(org.codehaus.plexus:plexus-interpolation)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-resources) mvn(org.codehaus.plexus:plexus-utils)
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This plugin is used to retrieve JARs of resources from remote repositories, process those resources, and incorporate them
|
|
into JARs you build with Maven.
|
|
|
|
A very common use-case is the need to package certain resources in a consistent way across your organization. For example
|
|
at Apache, it is required that every JAR produced contains a copy of the Apache license and a notice file that references
|
|
all used software in a given project.
|
|
|
|
%package help
|
|
Summary: Help package for maven-remote-resources-plugin
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
|
|
%description help
|
|
This package contains the API help documentation for maven-remote-resources-plugin.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%mvn_build -f
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc LICENSE NOTICE
|
|
|
|
%files help -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Fri Dec 13 2019 lingsheng <lingsheng@huawei.com> - 1.5-4
|
|
- Package init
|