diff --git a/mybatis-parent-21.tar.gz b/mybatis-parent-21.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..137ea15611fd6f873f3c2defe0cce80a95b0b20e
Binary files /dev/null and b/mybatis-parent-21.tar.gz differ
diff --git a/mybatis-parent.spec b/mybatis-parent.spec
new file mode 100644
index 0000000000000000000000000000000000000000..c57ae263c9d84b87b0b8cef75208b1f78fd75121
--- /dev/null
+++ b/mybatis-parent.spec
@@ -0,0 +1,52 @@
+Name: mybatis-parent
+Version: 21
+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)
+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.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']" '
+
+ 128m
+ 1024m
+ true
+ true
+ false
+ ${javac.target.version}
+ true
+'
+%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId ='maven-enforcer-plugin']/pom:executions/pom:execution/pom:configuration/pom:rules/pom:requirePluginVersions"
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc README
+%license LICENSE NOTICE
+
+%changelog
+* Fri Jan 8 2021 chengzihan - 21-1
+- Package init