From c9d687806251ebbd9aaac0a218d4d290a241eb26 Mon Sep 17 00:00:00 2001 From: shisheng-1 <240274530@qq.com> Date: Sat, 23 Apr 2022 22:33:32 +0800 Subject: [PATCH] Improve MAVEN build Performance --- .../broker-tests/tests-integration/tests-amqp/pom.xml | 3 ++- .../broker-tests/tests-integration/tests-patches/pom.xml | 3 ++- .../broker-tests/tests-integration/tests-server/pom.xml | 3 ++- .../broker-tests/tests-platform/tests-clustering/pom.xml | 3 ++- integration/broker-tests/tests-ui-integration/pom.xml | 3 ++- integration/mediation-tests/tests-connector/pom.xml | 3 ++- integration/mediation-tests/tests-mediator-1/pom.xml | 3 ++- integration/mediation-tests/tests-mediator-2/pom.xml | 3 ++- integration/mediation-tests/tests-other/pom.xml | 3 ++- .../artifacts/ESB/connector/custom-connector-hello/pom.xml | 3 ++- integration/mediation-tests/tests-patches/pom.xml | 3 ++- .../mediation-tests/tests-platform/tests-sap/pom.xml | 3 ++- .../mediation-tests/tests-platform/tests-wso2mb/pom.xml | 3 ++- integration/mediation-tests/tests-sample/pom.xml | 3 ++- integration/mediation-tests/tests-service/pom.xml | 3 ++- integration/mediation-tests/tests-transport/pom.xml | 3 ++- integration/mediation-tests/tests-ui/pom.xml | 3 ++- .../pom.xml | 6 ++++-- product-scenarios/10-file-processing/pom.xml | 3 ++- .../11-Asynchronous-message-processing/pom.xml | 3 ++- product-scenarios/13-micro-services/pom.xml | 3 ++- .../14-periodically-execute-an-integration-process/pom.xml | 3 ++- .../pom.xml | 6 ++++-- product-scenarios/4-gateway/pom.xml | 3 ++- product-scenarios/5-route-messages-between-systems/pom.xml | 3 ++- .../7-connecting-with-packaged-applications/pom.xml | 3 ++- 26 files changed, 56 insertions(+), 28 deletions(-) diff --git a/integration/broker-tests/tests-integration/tests-amqp/pom.xml b/integration/broker-tests/tests-integration/tests-amqp/pom.xml index 37cd16b290..882cd81cc7 100644 --- a/integration/broker-tests/tests-integration/tests-amqp/pom.xml +++ b/integration/broker-tests/tests-integration/tests-amqp/pom.xml @@ -41,7 +41,7 @@ -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m - false + classes ${testng.suiteXml.location} @@ -75,6 +75,7 @@ ${basedir}/src/test/resources/filters.txt ${basedir}/target + true diff --git a/integration/broker-tests/tests-integration/tests-patches/pom.xml b/integration/broker-tests/tests-integration/tests-patches/pom.xml index 4e7ba6b93d..6f993b9939 100644 --- a/integration/broker-tests/tests-integration/tests-patches/pom.xml +++ b/integration/broker-tests/tests-integration/tests-patches/pom.xml @@ -40,7 +40,7 @@ ${maven.surefire.plugin.version} -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m - false + classes src/test/resources/testng-server-mgt.xml src/test/resources/testng.xml @@ -71,6 +71,7 @@ ${basedir}/src/test/resources/filters.txt ${basedir}/target + true diff --git a/integration/broker-tests/tests-integration/tests-server/pom.xml b/integration/broker-tests/tests-integration/tests-server/pom.xml index d79bdff116..4e8e787e9a 100644 --- a/integration/broker-tests/tests-integration/tests-server/pom.xml +++ b/integration/broker-tests/tests-integration/tests-server/pom.xml @@ -40,7 +40,7 @@ -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m - false + classes src/test/resources/testng-server-mgt.xml src/test/resources/testng.xml @@ -72,6 +72,7 @@ ${basedir}/src/test/resources/filters.txt ${basedir}/target + true diff --git a/integration/broker-tests/tests-platform/tests-clustering/pom.xml b/integration/broker-tests/tests-platform/tests-clustering/pom.xml index 32a4a0c469..4877e1fa4c 100644 --- a/integration/broker-tests/tests-platform/tests-clustering/pom.xml +++ b/integration/broker-tests/tests-platform/tests-clustering/pom.xml @@ -41,7 +41,7 @@ -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m - false + classes ${skipPlatformTests} src/test/resources/testng-server-mgt.xml @@ -78,6 +78,7 @@ ${basedir}/src/test/resources/filters.txt ${basedir}/target + true diff --git a/integration/broker-tests/tests-ui-integration/pom.xml b/integration/broker-tests/tests-ui-integration/pom.xml index 07bca4ba0c..85844c7b76 100644 --- a/integration/broker-tests/tests-ui-integration/pom.xml +++ b/integration/broker-tests/tests-ui-integration/pom.xml @@ -40,7 +40,7 @@ ${maven.surefire.plugin.version} -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m - false + classes ${skipUiTests} src/test/resources/testng-server-mgt.xml @@ -73,6 +73,7 @@ ${basedir}/src/test/resources/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-connector/pom.xml b/integration/mediation-tests/tests-connector/pom.xml index 1571d7f899..4df730aedb 100644 --- a/integration/mediation-tests/tests-connector/pom.xml +++ b/integration/mediation-tests/tests-connector/pom.xml @@ -162,7 +162,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes true src/test/resources/testng.xml @@ -205,6 +205,7 @@ ${basedir}/target + true diff --git a/integration/mediation-tests/tests-mediator-1/pom.xml b/integration/mediation-tests/tests-mediator-1/pom.xml index 3139ebc819..323a3e7c87 100644 --- a/integration/mediation-tests/tests-mediator-1/pom.xml +++ b/integration/mediation-tests/tests-mediator-1/pom.xml @@ -38,7 +38,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -68,6 +68,7 @@ ${basedir}/../coverage-report/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-mediator-2/pom.xml b/integration/mediation-tests/tests-mediator-2/pom.xml index 2ed083cc39..3e7c7d6686 100644 --- a/integration/mediation-tests/tests-mediator-2/pom.xml +++ b/integration/mediation-tests/tests-mediator-2/pom.xml @@ -33,7 +33,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -63,6 +63,7 @@ ${basedir}/../coverage-report/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-other/pom.xml b/integration/mediation-tests/tests-other/pom.xml index 144952de2c..5a71441329 100644 --- a/integration/mediation-tests/tests-other/pom.xml +++ b/integration/mediation-tests/tests-other/pom.xml @@ -19,7 +19,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -49,6 +49,7 @@ ${basedir}/../coverage-report/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-other/src/test/resources/artifacts/ESB/connector/custom-connector-hello/pom.xml b/integration/mediation-tests/tests-other/src/test/resources/artifacts/ESB/connector/custom-connector-hello/pom.xml index 8677d16b35..5c46b8527e 100644 --- a/integration/mediation-tests/tests-other/src/test/resources/artifacts/ESB/connector/custom-connector-hello/pom.xml +++ b/integration/mediation-tests/tests-other/src/test/resources/artifacts/ESB/connector/custom-connector-hello/pom.xml @@ -155,7 +155,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m true false - false + classes src/test/resources/testng.xml @@ -193,6 +193,7 @@ ${basedir}/target + true diff --git a/integration/mediation-tests/tests-patches/pom.xml b/integration/mediation-tests/tests-patches/pom.xml index 97ce62f5bf..60e711230e 100644 --- a/integration/mediation-tests/tests-patches/pom.xml +++ b/integration/mediation-tests/tests-patches/pom.xml @@ -19,7 +19,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -49,6 +49,7 @@ ${basedir}/../coverage-report/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-platform/tests-sap/pom.xml b/integration/mediation-tests/tests-platform/tests-sap/pom.xml index e506259adf..e8b1615fc9 100644 --- a/integration/mediation-tests/tests-platform/tests-sap/pom.xml +++ b/integration/mediation-tests/tests-platform/tests-sap/pom.xml @@ -74,7 +74,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${testng.suiteXml.location} @@ -104,6 +104,7 @@ ${basedir}/../coverage-report/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-platform/tests-wso2mb/pom.xml b/integration/mediation-tests/tests-platform/tests-wso2mb/pom.xml index 4d1c0597e8..89aee13077 100644 --- a/integration/mediation-tests/tests-platform/tests-wso2mb/pom.xml +++ b/integration/mediation-tests/tests-platform/tests-wso2mb/pom.xml @@ -25,7 +25,7 @@ true false ${skipPlatformTests} - false + classes src/test/resources/testng.xml @@ -55,6 +55,7 @@ ${basedir}/src/test/resources/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-sample/pom.xml b/integration/mediation-tests/tests-sample/pom.xml index 7d53f56db9..087680cc29 100644 --- a/integration/mediation-tests/tests-sample/pom.xml +++ b/integration/mediation-tests/tests-sample/pom.xml @@ -20,7 +20,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${testng.suiteXml.location} @@ -50,6 +50,7 @@ ${basedir}/../coverage-report/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-service/pom.xml b/integration/mediation-tests/tests-service/pom.xml index e2d2257f1e..590fb88b26 100644 --- a/integration/mediation-tests/tests-service/pom.xml +++ b/integration/mediation-tests/tests-service/pom.xml @@ -19,7 +19,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -49,6 +49,7 @@ ${basedir}/../coverage-report/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-transport/pom.xml b/integration/mediation-tests/tests-transport/pom.xml index 238f5cbd7d..6dc3374df0 100644 --- a/integration/mediation-tests/tests-transport/pom.xml +++ b/integration/mediation-tests/tests-transport/pom.xml @@ -20,7 +20,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -50,6 +50,7 @@ ${basedir}/../coverage-report/filters.txt ${basedir}/target + true diff --git a/integration/mediation-tests/tests-ui/pom.xml b/integration/mediation-tests/tests-ui/pom.xml index fc5f0f085e..9dbe678761 100644 --- a/integration/mediation-tests/tests-ui/pom.xml +++ b/integration/mediation-tests/tests-ui/pom.xml @@ -37,7 +37,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${skipUiTests} src/test/resources/testng.xml @@ -68,6 +68,7 @@ ${basedir}/src/test/resources/filters.txt ${basedir}/target + true diff --git a/product-scenarios/1-integrating-systems-that-communicate-in-heterogeneous-message-formats/pom.xml b/product-scenarios/1-integrating-systems-that-communicate-in-heterogeneous-message-formats/pom.xml index d78f150402..fa6f39fbf7 100644 --- a/product-scenarios/1-integrating-systems-that-communicate-in-heterogeneous-message-formats/pom.xml +++ b/product-scenarios/1-integrating-systems-that-communicate-in-heterogeneous-message-formats/pom.xml @@ -57,7 +57,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${basedir}/src/test/resources/testng.xml @@ -96,6 +96,7 @@ ${basedir}/target + true @@ -110,7 +111,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${basedir}/src/test/resources/testng.xml @@ -149,6 +150,7 @@ ${basedir}/target + true diff --git a/product-scenarios/10-file-processing/pom.xml b/product-scenarios/10-file-processing/pom.xml index d722ad9da0..6338ed3073 100644 --- a/product-scenarios/10-file-processing/pom.xml +++ b/product-scenarios/10-file-processing/pom.xml @@ -42,7 +42,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -81,6 +81,7 @@ ${basedir}/target + true diff --git a/product-scenarios/11-Asynchronous-message-processing/pom.xml b/product-scenarios/11-Asynchronous-message-processing/pom.xml index 3d4aa12e37..448cade136 100644 --- a/product-scenarios/11-Asynchronous-message-processing/pom.xml +++ b/product-scenarios/11-Asynchronous-message-processing/pom.xml @@ -45,7 +45,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${basedir}/src/test/resources/testng.xml @@ -84,6 +84,7 @@ ${basedir}/target + true diff --git a/product-scenarios/13-micro-services/pom.xml b/product-scenarios/13-micro-services/pom.xml index 2b1cb53f75..aa7f082b48 100644 --- a/product-scenarios/13-micro-services/pom.xml +++ b/product-scenarios/13-micro-services/pom.xml @@ -50,7 +50,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${basedir}/src/test/resources/testng.xml @@ -89,6 +89,7 @@ ${basedir}/target + true diff --git a/product-scenarios/14-periodically-execute-an-integration-process/pom.xml b/product-scenarios/14-periodically-execute-an-integration-process/pom.xml index 9da84282bb..9e99f1de02 100644 --- a/product-scenarios/14-periodically-execute-an-integration-process/pom.xml +++ b/product-scenarios/14-periodically-execute-an-integration-process/pom.xml @@ -46,7 +46,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${basedir}/src/test/resources/testng.xml @@ -87,6 +87,7 @@ ${basedir}/coverage-report/filters.txt ${basedir}/target + true diff --git a/product-scenarios/2-Bridging-systems-that-communicate-in-different-protocols/pom.xml b/product-scenarios/2-Bridging-systems-that-communicate-in-different-protocols/pom.xml index 9b245005ca..313ccf3496 100644 --- a/product-scenarios/2-Bridging-systems-that-communicate-in-different-protocols/pom.xml +++ b/product-scenarios/2-Bridging-systems-that-communicate-in-different-protocols/pom.xml @@ -52,7 +52,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${basedir}/src/test/resources/testng.xml @@ -91,6 +91,7 @@ ${basedir}/target + true @@ -105,7 +106,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -144,6 +145,7 @@ ${basedir}/target + true diff --git a/product-scenarios/4-gateway/pom.xml b/product-scenarios/4-gateway/pom.xml index fc2db705cf..323784a5ea 100644 --- a/product-scenarios/4-gateway/pom.xml +++ b/product-scenarios/4-gateway/pom.xml @@ -45,7 +45,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes src/test/resources/testng.xml @@ -84,6 +84,7 @@ ${basedir}/target + true diff --git a/product-scenarios/5-route-messages-between-systems/pom.xml b/product-scenarios/5-route-messages-between-systems/pom.xml index 7836cfc397..8eee797c6f 100644 --- a/product-scenarios/5-route-messages-between-systems/pom.xml +++ b/product-scenarios/5-route-messages-between-systems/pom.xml @@ -46,7 +46,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${basedir}/src/test/resources/testng.xml @@ -88,6 +88,7 @@ ${basedir}/coverage-report/filters.txt ${basedir}/target + true diff --git a/product-scenarios/7-connecting-with-packaged-applications/pom.xml b/product-scenarios/7-connecting-with-packaged-applications/pom.xml index b9a5927446..4ff15670b9 100644 --- a/product-scenarios/7-connecting-with-packaged-applications/pom.xml +++ b/product-scenarios/7-connecting-with-packaged-applications/pom.xml @@ -39,7 +39,7 @@ -Xms512m -Xmx1024m -XX:MaxPermSize=128m false - false + classes ${basedir}/src/test/resources/testng.xml @@ -78,6 +78,7 @@ ${basedir}/target + true