You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2019/12/31 17:06:35 UTC

[airavata] branch develop updated: Adding missing jpa dependency for maven jpa plugin

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 37372c7  Adding missing jpa dependency for maven jpa plugin
37372c7 is described below

commit 37372c703492ea8c9cd0d6ef47f95a3e9126d5bb
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Tue Dec 31 12:06:16 2019 -0500

    Adding missing jpa dependency for maven jpa plugin
---
 modules/registry/registry-core/pom.xml              | 21 +--------------------
 .../sharing-registry-server/pom.xml                 |  7 +++++++
 2 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/modules/registry/registry-core/pom.xml b/modules/registry/registry-core/pom.xml
index b54a507..825063c 100644
--- a/modules/registry/registry-core/pom.xml
+++ b/modules/registry/registry-core/pom.xml
@@ -171,30 +171,11 @@
                         </goals>
                     </execution>
                 </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.openjpa</groupId>
-                <artifactId>openjpa-maven-plugin</artifactId>
-                <version>2.2.0</version>
-                <configuration>
-                    <includes>**/model/*.class</includes>
-                    <addDefaultConstructor>true</addDefaultConstructor>
-                    <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>enhancer</id>
-                        <phase>process-classes</phase>
-                        <goals>
-                            <goal>enhance</goal>
-                        </goals>
-                    </execution>
-                </executions>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.openjpa</groupId>
                         <artifactId>openjpa</artifactId>
-                        <version>2.2.0</version>
+                        <version>${openjpa.version}</version>
                     </dependency>
                 </dependencies>
             </plugin>
diff --git a/modules/sharing-registry/sharing-registry-server/pom.xml b/modules/sharing-registry/sharing-registry-server/pom.xml
index c28b8b8..ad30435 100644
--- a/modules/sharing-registry/sharing-registry-server/pom.xml
+++ b/modules/sharing-registry/sharing-registry-server/pom.xml
@@ -140,6 +140,13 @@
                         </goals>
                     </execution>
                 </executions>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.apache.openjpa</groupId>
+                        <artifactId>openjpa</artifactId>
+                        <version>${openjpa.version}</version>
+                    </dependency>
+                </dependencies>
             </plugin>
         </plugins>
     </build>