diff --git a/maven-processor-plugin-2.2.4.tar.gz b/maven-processor-plugin-2.2.4.tar.gz new file mode 100644 index 0000000..fa0a707 Binary files /dev/null and b/maven-processor-plugin-2.2.4.tar.gz differ diff --git a/maven-processor-plugin.spec b/maven-processor-plugin.spec new file mode 100644 index 0000000..5660758 --- /dev/null +++ b/maven-processor-plugin.spec @@ -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 - 2.2.4-1 +- Package init diff --git a/maven-processor-plugin.yaml b/maven-processor-plugin.yaml new file mode 100644 index 0000000..b97cbb3 --- /dev/null +++ b/maven-processor-plugin.yaml @@ -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: "."