Date: Tue, 20 Oct 2020 10:04:10 +0800
Subject: [PATCH] fix toplink essentials pom

---
 toplink-essentials-2.0-46.pom       | 66 ++++++++++++++++++++++++++++-
 toplink-essentials-agent-2.0-46.pom | 21 +++++++++
 2 files changed, 85 insertions(+), 2 deletions(-)

diff --git a/toplink-essentials-2.0-46.pom b/toplink-essentials-2.0-46.pom
index ce25ecb..e4279d0 100644
--- a/toplink-essentials-2.0-46.pom
+++ b/toplink-essentials-2.0-46.pom
@@ -2,12 +2,74 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>toplink.essentials</groupId>
   <artifactId>toplink-essentials</artifactId>
-  <version>2.0-46</version>
+  <version>2.0.46</version>
+  <packaging>jar</packaging>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>javax.persistence</groupId>
       <artifactId>persistence-api</artifactId>
-      <version>1.0b</version>
+      <version>1.0.2</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.spec.javax.resource</groupId>
+      <artifactId>jboss-connector-api_1.6_spec</artifactId>
+      <version>1.0.1.Final</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.spec.javax.jms</groupId>
+      <artifactId>jboss-jms-api_1.1_spec</artifactId>
+      <version>1.0.1.Final</version>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.jdo</groupId>
+      <artifactId>jdo2-api</artifactId>
+      <version>2.2</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.spec.javax.ejb</groupId>
+      <artifactId>jboss-ejb-api_3.1_spec</artifactId>
+      <version>1.0.2.Final</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.spec.javax.transaction</groupId>
+      <artifactId>jboss-transaction-api_1.1_spec</artifactId>
+      <version>1.0.1.Final</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.ant</groupId>
+      <artifactId>ant</artifactId>
+      <version>1.9.4</version>
+    </dependency>
+
+    <dependency>
+      <groupId>antlr</groupId>
+      <artifactId>antlr</artifactId>
+      <version>2.7.7</version>
     </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.0.2</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
diff --git a/toplink-essentials-agent-2.0-46.pom b/toplink-essentials-agent-2.0-46.pom
index 082640c..7c0de9a 100644
--- a/toplink-essentials-agent-2.0-46.pom
+++ b/toplink-essentials-agent-2.0-46.pom
@@ -3,4 +3,25 @@
   <groupId>toplink.essentials</groupId>
   <artifactId>toplink-essentials-agent</artifactId>
   <version>2.0-46</version>
+  <packaging>jar</packaging>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.0.2</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+        </configuration>
+      </plugin>
+    </plugins>
+
+    <sourceDirectory>src/main/java/oracle/toplink/essentials/internal/ejb/cmp3/</sourceDirectory>
+  </build>
 </project>
-- 
2.23.0

