You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2020/06/26 13:15:48 UTC

[airavata] branch develop updated: AIRAVATA-3326 Restore the openjpa enhancer plugin

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

machristie 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 9116fe5  AIRAVATA-3326 Restore the openjpa enhancer plugin
9116fe5 is described below

commit 9116fe589e9f6718415c4bb0765dc6eb3761cce1
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jun 26 09:15:34 2020 -0400

    AIRAVATA-3326 Restore the openjpa enhancer plugin
---
 modules/registry/registry-core/pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/modules/registry/registry-core/pom.xml b/modules/registry/registry-core/pom.xml
index f718d00..4421eab 100644
--- a/modules/registry/registry-core/pom.xml
+++ b/modules/registry/registry-core/pom.xml
@@ -224,6 +224,25 @@
                         </configuration>
                     </execution>
                 </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.openjpa</groupId>
+                <artifactId>openjpa-maven-plugin</artifactId>
+                <version>${openjpa.version}</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>