Package init

This commit is contained in:
jeff200902 2020-08-26 09:37:04 +08:00
parent 8374a68d93
commit 42eaf5e6aa
3 changed files with 52 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,47 @@
Name: maven-processor-plugin
Version: 2.2.4
Release: 1
Summary: Maven Processor Plugin
License: LGPLv3+
Url: https://github.com/bsorrentino/maven-annotation-plugin
Source0: https://github.com/bsorrentino/maven-annotation-plugin/archive/%{name}-%{version}.tar.gz
BuildRequires: maven-local 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-site-plugin)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(junit:junit)
BuildArch: noarch
%description
A maven plugin to process annotation for jdk6 at compile time
This plugin helps to use from maven the new annotation processing
provided by JDK6 integrated in java compiler
This plugin could be considered the 'alter ego' of maven apt plugin.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n maven-annotation-plugin-%{name}-%{version}
%pom_xpath_remove pom:project/pom:profiles
%pom_xpath_remove pom:build/pom:extensions
cp -p src/main/resources/COPYING.LESSER .
%mvn_file :%{name} %{name}/%{name} %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%license COPYING.LESSER
%files javadoc -f .mfiles-javadoc
%license COPYING.LESSER
%changelog
* Wed Aug 26 2020 Jeffery.Gao <gaojianxing@huawei.com> - 2.2.4-1
- Package init

View File

@ -0,0 +1,5 @@
git_url: https://github.com/bsorrentino/maven-annotation-plugin
version_control: github
src_repo: bsorrentino/maven-annotation-plugin
tag_prefix: "^maven-processor-plugin-"
seperator: "."