!1 package init

Merge pull request !1 from Causeway_Bay/master
This commit is contained in:
openeuler-ci-bot 2020-08-27 22:07:27 +08:00 committed by Gitee
commit a0238c9fd2
3 changed files with 51 additions and 0 deletions

Binary file not shown.

47
maven-war-plugin.spec Normal file
View File

@ -0,0 +1,47 @@
Name: maven-war-plugin
Version: 3.2.2
Release: 1
Summary: Maven WAR Plugin
License: ASL 2.0
URL: http://maven.apache.org/plugins/maven-war-plugin/
BuildArch: noarch
Source0: http://archive.apache.org/dist/maven/plugins/maven-war-plugin-%{version}-source-release.zip
BuildRequires: maven-local mvn(commons-io:commons-io) mvn(com.thoughtworks.xstream:xstream)
BuildRequires: mvn(org.apache.maven:maven-archiver) mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.shared:maven-filtering)
BuildRequires: mvn(org.apache.maven.shared:maven-mapping)
BuildRequires: mvn(org.codehaus.plexus:plexus-archiver)
BuildRequires: mvn(org.codehaus.plexus:plexus-interpolation)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
%description
Builds a Web Application Archive (WAR) file from the project output and its
dependencies.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
API documentation for %{name}.
%prep
%setup -q
%pom_remove_plugin :maven-enforcer-plugin
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Fri Jul 24 2020 wangchong <wangchong56@huawei.com> - 3.2.2-1
- package init

4
maven-war-plugin.yaml Normal file
View File

@ -0,0 +1,4 @@
version-control: github
src_repo: apache/maven-war-plugin
tag_prefix: maven-war-plugin-
seperator: .