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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway-app-referenceapp.git


The following commit(s) were added to refs/heads/master by this push:
     new d764b30  configures surefire
d764b30 is described below

commit d764b30a6f021145b2ed366e558c68e84a5eb11e
Author: andi-huber <[email protected]>
AuthorDate: Wed Mar 11 11:44:56 2026 +0100

    configures surefire
---
 pom.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/pom.xml b/pom.xml
index 1116055..5fbb86c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,13 @@ additional
         -Drevision=2.7.8 -->
         <causeway.version>4.0.0-SNAPSHOT</causeway.version>
         <maven.compiler.release>21</maven.compiler.release>
+        <maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version>
         <sonar.skip>true</sonar.skip>
+        
+        <!-- testing -->
+        <surefire-plugin.argLine>-Xmx384m</surefire-plugin.argLine>
+        <surefire.useModulePath>false</surefire.useModulePath> <!-- disable
+        module-path for testing, that is, put everything on the class-path -->
     </properties>
     
     <profiles>
@@ -118,6 +124,26 @@ additional
                     </dependency>
                 </dependencies>
             </plugin>
+            
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>${maven-surefire-plugin.version}</version>
+                <configuration>
+                    <printSummary>false</printSummary>
+                    <argLine>${surefire-plugin.argLine}</argLine>
+                    <forkCount>1C</forkCount>
+                    <reuseForks>true</reuseForks>
+                    <systemPropertyVariables>
+                        <!-- allows tests to reduce verbosity, or conditionally
+                        disable
+                                 when run with surefire; e.g.:
+                                 @DisabledIfSystemProperty(named = 
"isRunningWithSurefire", matches = "true")
+                                 -->
+                        <isRunningWithSurefire>true</isRunningWithSurefire>
+                    </systemPropertyVariables>
+                </configuration>
+            </plugin>
 
             <plugin>
                 <groupId>org.apache.rat</groupId>

Reply via email to