mybatis-parent/mybatis-parent.spec

46 lines
1.5 KiB
RPMSpec
Raw Normal View History

2021-01-27 15:03:22 +08:00
Name: mybatis-parent
2022-01-14 17:12:06 +08:00
Version: 33
2021-01-27 15:03:22 +08:00
Release: 1
Summary: The MyBatis parent POM
License: Apache-2.0
URL: https://github.com/mybatis
Source0: https://github.com/mybatis/parent/archive/%{name}-%{version}.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
2022-01-14 17:12:06 +08:00
BuildRequires: mvn(org.apache.maven.wagon:wagon-ssh)
2021-01-27 15:03:22 +08:00
BuildArch: noarch
%description
The MyBatis parent POM which has to be inherited by all MyBatis modules.
%prep
%setup -q -n parent-%{name}-%{version}
%pom_remove_plugin org.apache.maven.plugins:maven-site-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-pdf-plugin
%pom_remove_plugin org.codehaus.mojo:clirr-maven-plugin
%pom_remove_plugin org.codehaus.mojo:taglist-maven-plugin
%pom_remove_plugin org.codehaus.mojo:animal-sniffer-maven-plugin
%pom_remove_plugin :maven-scm-plugin
2022-01-14 17:12:06 +08:00
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
%pom_remove_plugin com.mycila:license-maven-plugin
%pom_remove_plugin org.gaul:modernizer-maven-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin
%pom_remove_plugin com.github.dantwining.whitespace-maven-plugin:whitespace-maven-plugin:
2021-01-27 15:03:22 +08:00
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
2022-01-14 17:12:06 +08:00
%doc README.md
2021-01-27 15:03:22 +08:00
%license LICENSE NOTICE
%changelog
2022-01-14 17:12:06 +08:00
* Fri Jan 14 2022 wangkai <wangkai385@huawei.com> - 33-1
- Update to 33
2021-01-27 15:03:22 +08:00
* Fri Jan 8 2021 chengzihan <chengzihan2@huawei.com> - 21-1
- Package init