代码拉取完成,页面将自动刷新
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
%global alphatag r12
Name: scannotation
Version: 1.0.3
Release: 1
Summary: A Java annotation scanner
License: ASL 2.0
URL: http://scannotation.sourceforge.net
# Also available here https://github.com/jharting/scannotation
# How we created tarball:
# svn export -r 12 https://scannotation.svn.sourceforge.net/svnroot/scannotation scannotation-1.0.3.Final
# tar -caJf scannotation-1.0.3.Final.tar.xz scannotation-1.0.3.Final
Source0: %{name}-%{namedversion}.tar.xz
Source1: License.txt
BuildArch: noarch
BuildRequires: maven-local mvn(javassist:javassist) mvn(javax.servlet:javax.servlet-api)
BuildRequires: mvn(junit:junit)
%description
Scannotation is a Java library that creates an annotation database
from a set of .class files.This database is really just a set of maps that index
what annotations are used and what classes are using them. Why do you need this?
What if you are an annotation framework like an EJB 3.0 container and you want
to automatically scan your classpath for EJB annotations so that you know what
to deploy? Scannotation gives you apis that allow you to find archives in your
classpath or WAR (web application) that you want to scan, then automatically
scans them without loading each and every class within those archives
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{namedversion}
%pom_disable_module titan-test-jar
%pom_remove_dep :titan-cruise %{name}
%pom_change_dep :servlet-api javax.servlet:javax.servlet-api:3.1.0 %{name}
cp -p %SOURCE1 .
%mvn_file org.%{name}:%{name} %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%license License.txt
%files javadoc -f .mfiles-javadoc
%license License.txt
%changelog
* Wed May 12 2021 zhangtao <zhangtao307@huawei.com> - 1.0.3-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。