diff --git a/fix-deprecated-assembly-goal.patch b/fix-deprecated-assembly-goal.patch
new file mode 100644
index 0000000000000000000000000000000000000000..c3f7a33b520d8721d1ec6850124ffa17751d87b5
--- /dev/null
+++ b/fix-deprecated-assembly-goal.patch
@@ -0,0 +1,11 @@
+--- pom.xml.ORIG 2010-05-06 17:57:22.000000000 -0500
++++ pom.xml 2017-01-04 14:26:28.005979113 -0600
+@@ -221,7 +221,7 @@
+ make-assembly
+ package
+
+- attached
++ single
+
+
+
diff --git a/xmltool-3.3.tar.xz b/xmltool-3.3.tar.xz
new file mode 100644
index 0000000000000000000000000000000000000000..c99cb275705a0d026ca34ef3b20db581184d2500
Binary files /dev/null and b/xmltool-3.3.tar.xz differ
diff --git a/xmltool.spec b/xmltool.spec
new file mode 100644
index 0000000000000000000000000000000000000000..36575b238bc491796932913252ed0378c5061277
--- /dev/null
+++ b/xmltool.spec
@@ -0,0 +1,46 @@
+Name: xmltool
+Version: 3.3
+Release: 1
+Summary: Tool to manage XML documents through a Fluent Interface
+License: ASL 2.0
+URL: http://code.google.com/p/xmltool
+Source0: %{name}-%{version}.tar.xz
+Patch0: fix-deprecated-assembly-goal.patch
+BuildArch: noarch
+BuildRequires: java-devel jpackage-utils maven-assembly-plugin maven-local
+BuildRequires: maven-remote-resources-plugin maven-source-plugin
+BuildRequires: maven-surefire-provider-testng apache-resource-bundles
+%description
+XMLTool is a very simple Java library to be able to do all sorts of common
+operations with an XML document. Java developers often end up writing the same
+code for processing XML, transforming, etc. This easy to use class puts it all
+together, using the Fluent Interface pattern to facilitate XML manipulations.
+
+%package javadoc
+Summary: Javadocs for %{name}
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p0
+sed -i 's/\r//' LICENSE.txt
+%mvn_file : %{name}
+%pom_xpath_remove "pom:build/pom:extensions"
+%pom_remove_plugin com.google.code.maven-license-plugin:maven-license-plugin
+
+%build
+%mvn_build -f
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc LICENSE.txt
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE.txt
+
+%changelog
+* Wed Sep 2 2020 luoshengwei - 3.3-1
+- package init
diff --git a/xmltool.yaml b/xmltool.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..c651911c56ccada49514d416e1c41d268dc3695c
--- /dev/null
+++ b/xmltool.yaml
@@ -0,0 +1,4 @@
+version_control: NA
+src_repo: NA
+tag_prefix: NA
+separator: NA