diff --git a/jdo2-api-2.2-build.xml b/jdo2-api-2.2-build.xml
new file mode 100644
index 0000000..8bce482
--- /dev/null
+++ b/jdo2-api-2.2-build.xml
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jdo2-api-2.2-pom.patch b/jdo2-api-2.2-pom.patch
new file mode 100644
index 0000000..06d7a51
--- /dev/null
+++ b/jdo2-api-2.2-pom.patch
@@ -0,0 +1,24 @@
+--- pom.xml 2008-10-24 22:00:43.000000000 +0200
++++ pom.xml-gil 2012-05-28 21:13:19.599917969 +0200
+@@ -3,7 +3,7 @@
+ javax.jdo
+ jdo2-api
+ JDO2 API
+- ${currentVersion}
++ 2.2
+ The Java Data Objects 2 (JDO) API is a standard interface-based
+ Java model abstraction of persistence, developed as Java Specification
+ Request 243 under the auspices of the Java Community Process.
+@@ -60,9 +60,9 @@
+
+
+
+- javax.transaction
+- transaction-api
+- 1.1
++ org.apache.geronimo.specs
++ geronimo-jta_1.1_spec
++ 1.1.1
+
+
+ org.apache.ant
diff --git a/jdo2-api-2.2-src.tar.gz b/jdo2-api-2.2-src.tar.gz
new file mode 100644
index 0000000..59dce71
Binary files /dev/null and b/jdo2-api-2.2-src.tar.gz differ
diff --git a/jdo2-api-2.2.pom b/jdo2-api-2.2.pom
new file mode 100644
index 0000000..fe9ee05
--- /dev/null
+++ b/jdo2-api-2.2.pom
@@ -0,0 +1,83 @@
+
+ 4.0.0
+ javax.jdo
+ jdo2-api
+ JDO2 API
+ ${currentVersion}
+ The Java Data Objects 2 (JDO) API is a standard interface-based
+Java model abstraction of persistence, developed as Java Specification
+Request 243 under the auspices of the Java Community Process.
+
+ src/java
+ test/java
+
+
+ META-INF
+ ${basedir}/..
+
+ NOTICE.txt
+
+
+
+ ${basedir}/src/java
+
+ javax/jdo/*.properties
+
+
+
+ ${basedir}/src/schema
+
+ javax/jdo/*.dtd
+ javax/jdo/*.xsd
+
+
+
+
+
+ ${basedir}/test/schema
+
+ **/*.jdo
+ **/*.jdoquery
+ **/*.orm
+ **/jdoconfig.xml
+
+
+
+
+
+ maven-surefire-plugin
+
+
+ **/*Test.java
+
+
+ javax/jdo/util/AbstractTest.java
+ javax/jdo/pc/*.java
+
+
+
+
+
+
+
+ javax.transaction
+ transaction-api
+ 1.1
+
+
+ org.apache.ant
+ ant
+ 1.7.0
+
+
+ junit
+ junit
+ 3.8.1
+
+
+ org.apache.geronimo.specs
+ geronimo-jpa_3.0_spec
+ 1.0
+
+
+
\ No newline at end of file
diff --git a/jdo2-api.spec b/jdo2-api.spec
new file mode 100644
index 0000000..5da2c43
--- /dev/null
+++ b/jdo2-api.spec
@@ -0,0 +1,64 @@
+Name: jdo2-api
+Version: 2.2
+Release: 18
+Summary: Java Data Objects 2 (JDO) API, implementation of JSR 243
+License: ASL 2.0
+Url: http://db.apache.org/jdo/
+Source0: http://svn.apache.org/repos/asf/db/jdo/tags/2.2/dist/db/jdo/2.2/jdo2-api-2.2-src.tar.gz
+#use for build
+Source1: jdo2-api-2.2-build.xml
+#use for creating dependency maps that tell the build tool where to find the required libraries.
+Source2: https://repo1.maven.org/maven2/javax/jdo/jdo2-api/2.2/jdo2-api-2.2.pom
+# changed javax.transaction transaction-api 1.1 with geronimo-jta_1.1_spec
+# fix pom version
+Patch0000: jdo2-api-2.2-pom.patch
+BuildRequires: jpackage-utils java-devel javapackages-local
+BuildRequires: ant geronimo-jpa geronimo-jta junit
+Requires: ant geronimo-jpa geronimo-jta junit jpackage-utils
+BuildArch: noarch
+
+%description
+The Java Data Objects 2 (JDO) API is a standard interface-based
+Java model abstraction of persistence, provides a standard way to
+access persistent data in databases, developed as Java Specification
+Request 243 in the Java Community Process.
+
+%package help
+Summary: Provides help and API documentation for %{name}
+Obsoletes: jdo2-api-javadoc < %{version}-%{release}
+Provides: jdo2-api-javadoc = %{version}-%{release}
+
+%description help
+This package provides help and javadoc for %{name}.
+
+%prep
+%setup -q -c
+cd %{name}-%{version}
+cp -p %{SOURCE1} build.xml
+cp -p %{SOURCE2} pom.xml
+%patch0 -p0
+
+%build
+cd %{name}-%{version}
+%ant jar javadoc
+
+%install
+cd %{name}-%{version}
+install -Dpm 644 %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+mkdir -p %{buildroot}%{_javadocdir}/%{name}
+cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
+
+%files -f %{name}-%{version}/.mfiles
+%license LICENSE.txt NOTICE.txt
+
+%files help
+%{_javadocdir}/%{name}
+%license LICENSE.txt NOTICE.txt
+
+%changelog
+* Fri May 07 2020 openEuler Buildteam - 1.005-12
+- Package init