Update to 33

This commit is contained in:
wk333 2022-01-14 17:12:06 +08:00
parent d4a1b9a867
commit 731ae5c6d8
3 changed files with 12 additions and 19 deletions

Binary file not shown.

BIN
mybatis-parent-33.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,12 @@
Name: mybatis-parent
Version: 21
Version: 33
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)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.wagon:wagon-ssh)
BuildArch: noarch
%description
@ -16,26 +16,16 @@ The MyBatis parent POM which has to be inherited by all MyBatis modules.
%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.sonatype.plugins:jarjar-maven-plugin
%pom_remove_plugin org.sonatype.plugins:nexus-maven-plugin
%pom_remove_plugin org.codehaus.mojo:clirr-maven-plugin
%pom_remove_plugin org.codehaus.mojo:jdepend-maven-plugin
%pom_remove_plugin org.codehaus.mojo:findbugs-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
%pom_xpath_remove "pom:reporting/pom:plugins/pom:plugin[pom:artifactId ='maven-javadoc-plugin']/pom:configuration"
%pom_xpath_inject "pom:reporting/pom:plugins/pom:plugin[pom:artifactId ='maven-javadoc-plugin']" '
<configuration>
<minmemory>128m</minmemory>
<maxmemory>1024m</maxmemory>
<breakiterator>true</breakiterator>
<quiet>true</quiet>
<verbose>false</verbose>
<source>${javac.target.version}</source>
<linksource>true</linksource>
</configuration>'
%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId ='maven-enforcer-plugin']/pom:executions/pom:execution/pom:configuration/pom:rules/pom:requirePluginVersions"
%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:
%build
%mvn_build
@ -44,9 +34,12 @@ The MyBatis parent POM which has to be inherited by all MyBatis modules.
%mvn_install
%files -f .mfiles
%doc README
%doc README.md
%license LICENSE NOTICE
%changelog
* Fri Jan 14 2022 wangkai <wangkai385@huawei.com> - 33-1
- Update to 33
* Fri Jan 8 2021 chengzihan <chengzihan2@huawei.com> - 21-1
- Package init