maven-source-plugin/maven-source-plugin.spec
2020-04-23 15:30:38 +08:00

46 lines
1.6 KiB
RPMSpec

Name: maven-source-plugin
Version: 3.0.1
Release: 6
Summary: Source Plugin creating a jar archive of source
License: ASL 2.0
URL: http://maven.apache.org/plugins/maven-source-plugin/
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.maven:maven-archiver) mvn(org.apache.maven:maven-artifact)
BuildRequires: mvn(org.apache.maven:maven-compat) mvn(org.apache.maven:maven-core) mvn(org.apache.maven:maven-model)
BuildRequires: mvn(org.apache.maven:maven-plugin-api) mvn(org.apache.maven.plugins:maven-plugins:pom:)
BuildRequires: mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness) mvn(org.codehaus.plexus:plexus-archiver)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) mvn(org.codehaus.plexus:plexus-utils)
BuildArch: noarch
%description
The Source Plugin creates a jar archive of the source files of the current project. The jar file is, by
default, created in the project's target directory.
%package help
Summary: Help package for maven-source-plugin
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
This package contains the API help documentation for maven-source-plugin.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%mvn_file : %{name}
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE NOTICE
%files help -f .mfiles-javadoc
%changelog
* Thu Dec 12 2019 lingsheng <lingsheng@huawei.com> - 3.0.1-6
- Package init