diff --git a/org.adempiere.ui.zk/pom.xml b/org.adempiere.ui.zk/pom.xml
index 5af3c4e6b8..56a7d1ca9e 100644
--- a/org.adempiere.ui.zk/pom.xml
+++ b/org.adempiere.ui.zk/pom.xml
@@ -11,29 +11,6 @@
eclipse-plugin
-
- maven-clean-plugin
-
-
- auto-clean
- validate
-
- clean
-
-
-
-
-
-
- ${project.basedir}/lib
-
- *.jar
-
- false
-
-
-
-
org.apache.maven.plugins
maven-dependency-plugin
diff --git a/org.idempiere.p2/pom.xml b/org.idempiere.p2/pom.xml
index df0c03b153..301961bdca 100644
--- a/org.idempiere.p2/pom.xml
+++ b/org.idempiere.p2/pom.xml
@@ -9,20 +9,82 @@
org.idempiere.p2
eclipse-repository
-
+
+ package
+
-
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+ 1.8
+
+
+ validate
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+ org.eclipse.tycho
+ tycho-p2-publisher-plugin
+
+
+ default-publish-osgi-ee
+
+ publish-osgi-ee
+
+ ${materializeProduct}
+
+
+ default-publish-categories
+
+ publish-categories
+
+ ${materializeProduct}
+
+
+ default-publish-products
+
+ publish-products
+
+ package
+
+
+ default-attach-artifacts
+
+ attach-artifacts
+
+ package
+
+
+
org.eclipse.tycho
tycho-p2-repository-plugin
-
- build-site-p2
+ default-assemble-repository
assemble-repository
+ package
+
+
+ default-archive-repository
+
+ archive-repository
+
+ package
@@ -34,17 +96,17 @@
false
-
org.eclipse.tycho
tycho-p2-director-plugin
- materialize-products
+ default-materialize-products
materialize-products
+ ${materializeProduct}
@@ -58,7 +120,6 @@
-
org.eclipse.tycho.extras
tycho-eclipserun-plugin
@@ -67,13 +128,14 @@
+ default-eclipse-run
eclipse-run
- package
+ ${materializeProduct}
-
-
\ No newline at end of file
+
+
diff --git a/org.idempiere.parent/pom.xml b/org.idempiere.parent/pom.xml
index ee097c97e9..9b4b67b62e 100644
--- a/org.idempiere.parent/pom.xml
+++ b/org.idempiere.parent/pom.xml
@@ -31,6 +31,7 @@
https://raw.githubusercontent.com/idempiere/binary.file/master
org.eclipse.equinox.p2.director, org.idempiere.equinox.p2.director.feature.feature.group, org.idempiere.test.feature.feature.group
org.adempiere.server.product
+ false
@@ -505,6 +506,7 @@
+ ${skipClean}
${project.basedir}/lib
diff --git a/org.idempiere.test/pom.xml b/org.idempiere.test/pom.xml
index 01fdb13c40..25c20d9307 100644
--- a/org.idempiere.test/pom.xml
+++ b/org.idempiere.test/pom.xml
@@ -14,16 +14,45 @@
..
true
true
+ -Djunit.jupiter.execution.parallel.enabled=true
+ -Djunit.jupiter.execution.parallel.mode.default=concurrent
+ -Djunit.jupiter.execution.parallel.config.strategy=fixed
+ -Djunit.jupiter.execution.parallel.config.fixed.parallelism=4
+ -Djunit.jupiter.execution.parallel.mode.classes.default=same_thread
+
+ maven-clean-plugin
+
+
+ auto-clean
+ validate
+
+ clean
+
+
+
+
+ false
+
+
+ ${project.basedir}/lib
+
+ *.jar
+
+ false
+
+
+
+
org.eclipse.tycho
tycho-surefire-plugin
- -DIDEMPIERE_HOME=${idempiere.home}
+ -DIDEMPIERE_HOME=${idempiere.home} ${p1} ${p2} ${p3} ${p4} ${p5}
p2Installed
${skipTests}
diff --git a/org.idempiere.test/src/org/idempiere/test/AbstractTestCase.java b/org.idempiere.test/src/org/idempiere/test/AbstractTestCase.java
index 84dcdc9b49..2b8792ab33 100644
--- a/org.idempiere.test/src/org/idempiere/test/AbstractTestCase.java
+++ b/org.idempiere.test/src/org/idempiere/test/AbstractTestCase.java
@@ -28,7 +28,9 @@ import static org.junit.jupiter.api.Assertions.fail;
import java.sql.SQLException;
import java.sql.Timestamp;
+import java.util.Properties;
+import org.adempiere.util.ServerContext;
import org.compiere.Adempiere;
import org.compiere.model.MAcctSchema;
import org.compiere.model.MClientInfo;
@@ -71,6 +73,8 @@ public abstract class AbstractTestCase {
* @param testInfo
*/
protected void init(TestInfo testInfo) {
+ ServerContext.setCurrentInstance(new Properties());
+
String trxName = Trx.createTrxName(getClass().getName()+"_");
trx = Trx.get(trxName, true);
trx.start();