maven-jar-plugin: openEuler init
This commit is contained in:
parent
20dd3f2e9b
commit
735229949c
BIN
maven-jar-plugin-3.1.0-source-release.zip
Normal file
BIN
maven-jar-plugin-3.1.0-source-release.zip
Normal file
Binary file not shown.
42
maven-jar-plugin.spec
Normal file
42
maven-jar-plugin.spec
Normal file
@ -0,0 +1,42 @@
|
||||
Name: maven-jar-plugin
|
||||
Version: 3.1.0
|
||||
Release: 3
|
||||
Summary: Apache Maven JAR Plugin
|
||||
License: ASL 2.0
|
||||
URL: http://maven.apache.org/plugins/maven-jar-plugin/
|
||||
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local mvn(org.apache.maven:maven-archiver) mvn(org.apache.maven:maven-artifact) mvn(org.apache.maven:maven-core)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api) mvn(org.apache.maven.plugins:maven-plugin-plugin) mvn(org.apache.maven.plugins:maven-plugins:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) mvn(org.codehaus.plexus:plexus-archiver) mvn(org.codehaus.plexus:plexus-utils)
|
||||
|
||||
%description
|
||||
This plugin provides the capability to build jars
|
||||
|
||||
%package help
|
||||
Summary: This package contains help documents
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: maven-jar-plugin-javadoc = %{version}-%{release}
|
||||
Obsoletes: maven-jar-plugin-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Files for help with maven-jar-plugin.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%mvn_build -f -- -DmavenVersion=3.1.1
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%dir %{_javadir}/maven-jar-plugin
|
||||
%doc LICENSE NOTICE
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Mon Dec 02 2019 gulining<gulining1@huawei.com> - 3.1.0-3
|
||||
- Pakcage init
|
||||
Loading…
x
Reference in New Issue
Block a user