diff --git a/openjpa-integration/daytrader/pom.xml b/openjpa-integration/daytrader/pom.xml
index 463bbf80e..22ab832d7 100644
--- a/openjpa-integration/daytrader/pom.xml
+++ b/openjpa-integration/daytrader/pom.xml
@@ -170,6 +170,7 @@
org.apache.maven.plugins
maven-surefire-plugin
+ ${surefire.jvm.args}
diff --git a/openjpa-integration/jmx/pom.xml b/openjpa-integration/jmx/pom.xml
index 86e806f79..8c40e4b4f 100644
--- a/openjpa-integration/jmx/pom.xml
+++ b/openjpa-integration/jmx/pom.xml
@@ -61,8 +61,8 @@
-
-
+
+
org.apache.maven.plugins
@@ -90,38 +90,41 @@
-
-
- org.codehaus.mojo
- openjpa-maven-plugin
-
- org/apache/openjpa/integration/jmx/*.class
- true
- true
-
-
-
-
- enhancer
- process-test-classes
-
- test-enhance
-
-
-
-
-
- org.apache.openjpa
- openjpa-all
- ${project.version}
-
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
-
+
+
+ org.codehaus.mojo
+ openjpa-maven-plugin
+
+ org/apache/openjpa/integration/jmx/*.class
+ true
+ true
+
+
+
+
+ enhancer
+ process-test-classes
+
+ test-enhance
+
+
+
+
+
+ org.apache.openjpa
+ openjpa-all
+ ${project.version}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ ${surefire.jvm.args}
+
+
+
+
diff --git a/openjpa-integration/slf4j/pom.xml b/openjpa-integration/slf4j/pom.xml
index 7dc86ea11..d5129cc18 100644
--- a/openjpa-integration/slf4j/pom.xml
+++ b/openjpa-integration/slf4j/pom.xml
@@ -137,6 +137,7 @@
org.apache.maven.plugins
maven-surefire-plugin
+ ${surefire.jvm.args}
diff --git a/openjpa-integration/validation/pom.xml b/openjpa-integration/validation/pom.xml
index 794562f41..337c81b69 100644
--- a/openjpa-integration/validation/pom.xml
+++ b/openjpa-integration/validation/pom.xml
@@ -194,7 +194,7 @@
maven-antrun-plugin
- test-compile
+ process-test-classes
diff --git a/openjpa-persistence-jdbc/pom.xml b/openjpa-persistence-jdbc/pom.xml
index 6ddcdf002..ac44f31e6 100644
--- a/openjpa-persistence-jdbc/pom.xml
+++ b/openjpa-persistence-jdbc/pom.xml
@@ -55,6 +55,7 @@
org.apache.maven.plugins
maven-surefire-plugin
+ ${surefire.jvm.args}
org/apache/openjpa/persistence/enhance/DynamicEnhancementSuite.java
@@ -775,7 +776,7 @@
maven-antrun-plugin
- test-compile
+ process-test-classes
@@ -798,6 +799,7 @@
org.apache.maven.plugins
maven-surefire-plugin
+ ${surefire.jvm.args}
diff --git a/openjpa-persistence-locking/pom.xml b/openjpa-persistence-locking/pom.xml
index 47af824a9..0ef0158dc 100644
--- a/openjpa-persistence-locking/pom.xml
+++ b/openjpa-persistence-locking/pom.xml
@@ -724,7 +724,7 @@
maven-antrun-plugin
- test-compile
+ process-test-classes
@@ -747,6 +747,7 @@
org.apache.maven.plugins
maven-surefire-plugin
+ ${surefire.jvm.args}