!9 [sync] PR-8: Upgrade to version 1.4.1
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
4f2a5720de
Binary file not shown.
BIN
mybatis-generator-1.4.1.tar.gz
Normal file
BIN
mybatis-generator-1.4.1.tar.gz
Normal file
Binary file not shown.
@ -1,8 +1,8 @@
|
|||||||
Name: mybatis-generator
|
Name: mybatis-generator
|
||||||
Version: 1.3.2
|
Version: 1.4.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A code generator for MyBatis and iBATIS
|
Summary: A code generator for MyBatis and iBATIS
|
||||||
License: ASL 2.0
|
License: Apache-2.0
|
||||||
URL: http://www.mybatis.org/
|
URL: http://www.mybatis.org/
|
||||||
Source0: https://github.com/mybatis/generator/archive/%{name}-%{version}.tar.gz
|
Source0: https://github.com/mybatis/generator/archive/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: mvn(log4j:log4j:1.2.17) mvn(org.apache.ant:ant)
|
BuildRequires: mvn(log4j:log4j:1.2.17) mvn(org.apache.ant:ant)
|
||||||
@ -15,6 +15,10 @@ BuildRequires: mvn(org.apache.commons:commons-ognl)
|
|||||||
BuildRequires: maven-local maven-enforcer-plugin maven-plugin-bundle
|
BuildRequires: maven-local maven-enforcer-plugin maven-plugin-bundle
|
||||||
BuildRequires: maven-plugin-plugin maven-surefire-report-plugin
|
BuildRequires: maven-plugin-plugin maven-surefire-report-plugin
|
||||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.apache.logging.log4j:log4j-api)
|
||||||
|
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
|
||||||
|
BuildRequires: mvn(org.reflections:reflections)
|
||||||
|
BuildRequires: mvn(org.hsqldb:hsqldb)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -47,32 +51,23 @@ This package contains javadoc for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n generator-%{name}-%{version}
|
%setup -q -n generator-%{name}-%{version}
|
||||||
|
|
||||||
%pom_remove_dep :cobertura
|
mv core/* ./
|
||||||
%pom_remove_dep :cobertura mybatis-generator-systests-mybatis3
|
rm -rf eclipse
|
||||||
%pom_xpath_remove "pom:dependency[pom:artifactId= '%{name}-core']/pom:classifier" %{name}-systests-mybatis3
|
rm -rf core
|
||||||
|
sed -i 's/<scope>test/<scope>compile/g' %{name}-systests-mybatis3/pom.xml
|
||||||
|
|
||||||
%pom_remove_dep :cobertura mybatis-generator-systests-ibatis2-java2
|
%pom_disable_module %{name}-systests-mybatis3-java8
|
||||||
%pom_xpath_remove "pom:dependency[pom:artifactId= '%{name}-core']/pom:classifier" %{name}-systests-ibatis2-java2
|
%pom_disable_module %{name}-systests-kotlin
|
||||||
%pom_remove_dep :cobertura mybatis-generator-systests-ibatis2-java5
|
%pom_disable_module %{name}-systests-domtests
|
||||||
%pom_xpath_remove "pom:dependency[pom:artifactId= '%{name}-core']/pom:classifier" %{name}-systests-ibatis2-java5
|
|
||||||
|
|
||||||
%pom_disable_module %{name}-systests-ibatis2-java2
|
|
||||||
%pom_disable_module %{name}-systests-ibatis2-java5
|
|
||||||
%pom_remove_dep :ibatis-sqlmap
|
|
||||||
|
|
||||||
%pom_remove_plugin :maven-enforcer-plugin
|
%pom_remove_plugin :maven-enforcer-plugin
|
||||||
%pom_remove_plugin :maven-gcu-plugin %{name}-core
|
|
||||||
%pom_remove_plugin :jdepend-maven-plugin %{name}-core
|
|
||||||
%pom_remove_plugin :maven-install-plugin %{name}-core
|
|
||||||
%pom_remove_plugin :maven-assembly-plugin %{name}-core
|
%pom_remove_plugin :maven-assembly-plugin %{name}-core
|
||||||
%pom_remove_plugin :maven-javadoc-plugin %{name}-core
|
%pom_remove_plugin :maven-javadoc-plugin %{name}-core
|
||||||
%pom_remove_plugin :maven-release-plugin %{name}-core
|
|
||||||
%pom_remove_plugin :maven-site-plugin %{name}-core
|
%pom_remove_plugin :maven-site-plugin %{name}-core
|
||||||
%pom_remove_plugin :maven-source-plugin %{name}-core
|
%pom_remove_plugin :maven-source-plugin %{name}-core
|
||||||
%pom_remove_plugin :cobertura-maven-plugin %{name}-core
|
|
||||||
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" %{name}-core
|
|
||||||
|
|
||||||
%pom_add_dep org.apache.commons:commons-ognl::test mybatis-generator-systests-mybatis3
|
%pom_add_dep org.apache.commons:commons-ognl::test mybatis-generator-systests-mybatis3
|
||||||
|
%pom_remove_plugin :kotlin-maven-plugin %{name}-core
|
||||||
|
%pom_remove_plugin :kotlin-maven-plugin
|
||||||
|
|
||||||
sed -i 's/\r//' LICENSE NOTICE %{name}-core/doc/*
|
sed -i 's/\r//' LICENSE NOTICE %{name}-core/doc/*
|
||||||
|
|
||||||
@ -103,5 +98,8 @@ sed -i 's/\r//' LICENSE NOTICE %{name}-core/doc/*
|
|||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 30 2022 Ge Wang <wangge20@h-partners.com> - 1.4.1-1
|
||||||
|
- Upgrade to version 1.4.1
|
||||||
|
|
||||||
* Mon May 10 2021 chengzihan <chengzihan2@huawei.com> - 1.3.2-1
|
* Mon May 10 2021 chengzihan <chengzihan2@huawei.com> - 1.3.2-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user