48 lines
1.7 KiB
RPMSpec
48 lines
1.7 KiB
RPMSpec
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
|