4 Star 0 Fork 1

src-openEuler/scannotation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
scannotation.spec 2.05 KB
一键复制 编辑 原始数据 按行查看 历史
调包铁头娃 提交于 2021-05-17 17:42 . package init
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/scannotation.git
git@gitee.com:src-openeuler/scannotation.git
src-openeuler
scannotation
scannotation
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385