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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-archetype.git

commit 00bd1f7985586e681d8303872705d6ad97a2a196
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sat Oct 31 11:15:58 2026 +0000

    Run integration tests in parallel with cheaper JVMs
---
 maven-archetype-plugin/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/maven-archetype-plugin/pom.xml b/maven-archetype-plugin/pom.xml
index 847bccef..92d310d6 100644
--- a/maven-archetype-plugin/pom.xml
+++ b/maven-archetype-plugin/pom.xml
@@ -232,6 +232,7 @@
       <id>run-its</id>
       <properties>
         <maven.it.failure.ignore>false</maven.it.failure.ignore>
+        <invoker.parallelThreads>0.75C</invoker.parallelThreads>
       </properties>
       <build>
         <plugins>
@@ -312,6 +313,10 @@
                   <preBuildHookScript>setup</preBuildHookScript>
                   <postBuildHookScript>verify</postBuildHookScript>
                   <settingsFile>src/it/mrm/settings.xml</settingsFile>
+                  <environmentVariables>
+                    <!-- each IT starts short-lived JVMs: C2 compilation and 
parallel GC only add startup time -->
+                    <JAVA_TOOL_OPTIONS>-XX:TieredStopAtLevel=1 
-XX:+UseSerialGC</JAVA_TOOL_OPTIONS>
+                  </environmentVariables>
                   <logDirectory>target/it/logs</logDirectory>
                   <properties>
                     
<maven.compiler.source>${maven.compiler.source}</maven.compiler.source>

Reply via email to