From ea5b0a88b64ed86c7a1e443bfe8e8b0477f673e6 Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Mon, 11 Nov 2024 16:40:59 +0000 Subject: [PATCH] Configure Maven Profile for Performance Tests - Enhance: Define global property for maven-resources-plugin and maven-failsafe-plugin version. - Updated Maven configuration to include performance test cases - Enable performance test inclusion in build with include-performance profile - Configured build to run all performance tests with include-performance profile Issue-ID: CPS-2491 Change-Id: Iecedfc0fce9ce8ed2bfab00784d22eb53cacd18a Signed-off-by: sourabh_sourabh --- cps-parent/pom.xml | 38 +++++++++++++++++++++++++++++++++++--- cps-path-parser/pom.xml | 26 -------------------------- integration-test/pom.xml | 25 ------------------------- 3 files changed, 35 insertions(+), 54 deletions(-) diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 6776008acf..6c4d1a3d62 100644 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -43,7 +43,7 @@ 1.5.0 9.2.0 - 9.0.0 + 9.0.1 4.0.1 0.8.11 17 @@ -51,14 +51,16 @@ 3.3.1 3.13.0 17 + 3.5.2 + 3.3.1 4.0.0-M13 - 3.2.5 + 3.3.1 42.5.1 2.0.6 4.0.0.4121 4.8.6.4 4.8.6 - 3.2.4 + 3.3.1 1.2.1 @@ -134,6 +136,36 @@ + + + include-performance + + -Xms512m -Xmx512m + + + + + org.apache.maven.plugins + maven-failsafe-plugin + ${maven.failsafe.plugin.version} + + + **/*PerfTest.java + + + + + + integration-test + verify + + + + + + + diff --git a/cps-path-parser/pom.xml b/cps-path-parser/pom.xml index 57b1e6b247..b876c48810 100644 --- a/cps-path-parser/pom.xml +++ b/cps-path-parser/pom.xml @@ -82,30 +82,4 @@ test - - - - default - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - %regex[.*PerfTest.*] - - - - - - - - include-performance - - - diff --git a/integration-test/pom.xml b/integration-test/pom.xml index b39c1987bf..7ac9460f5e 100644 --- a/integration-test/pom.xml +++ b/integration-test/pom.xml @@ -113,29 +113,4 @@ test - - - - - include-performance - - -Xms512m -Xmx512m - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - **/*PerfTest.java - - - - - - - - -- 2.16.6