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

gnodet pushed a commit to branch CAMEL-22948
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 72035e80cea2da1e17e97196f93951823ffe815a
Author: Guillaume Nodet <[email protected]>
AuthorDate: Thu Mar 19 10:03:27 2026 +0100

    CAMEL-22948: Add @{argLine} to surefire/failsafe configuration
    
    Append @{argLine} to all argLine configurations in the parent pom
    so that Maven extensions (like Quarkus) can inject JVM parameters
    automatically. When no extension sets argLine, it resolves to empty.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 parent/pom.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index f6cf8a8ff49f..13baa57dbdc2 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -4347,14 +4347,14 @@
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-surefire-plugin</artifactId>
                         <configuration>
-                            <argLine>@{camel.surefire.fork.vmargs}</argLine>
+                            <argLine>@{camel.surefire.fork.vmargs} 
@{argLine}</argLine>
                         </configuration>
                     </plugin>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-failsafe-plugin</artifactId>
                         <configuration>
-                            <argLine>@{camel.failsafe.fork.vmargs}</argLine>
+                            <argLine>@{camel.failsafe.fork.vmargs} 
@{argLine}</argLine>
                         </configuration>
                     </plugin>
                 </plugins>
@@ -4402,7 +4402,7 @@
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-surefire-plugin</artifactId>
                         <configuration>
-                            <argLine>${camel.surefire.fork.vmargs}</argLine>
+                            <argLine>${camel.surefire.fork.vmargs} 
@{argLine}</argLine>
                             <childDelegation>false</childDelegation>
                             <useFile>true</useFile>
                             <failIfNoTests>false</failIfNoTests>
@@ -4478,14 +4478,14 @@
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-surefire-plugin</artifactId>
                         <configuration>
-                            <argLine>${camel.surefire.fork.vmargs} 
${jacocoAgent}</argLine>
+                            <argLine>${camel.surefire.fork.vmargs} 
${jacocoAgent} @{argLine}</argLine>
                         </configuration>
                     </plugin>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-failsafe-plugin</artifactId>
                         <configuration>
-                            <argLine>${camel.failsafe.fork.vmargs} 
${jacocoAgent}</argLine>
+                            <argLine>${camel.failsafe.fork.vmargs} 
${jacocoAgent} @{argLine}</argLine>
                         </configuration>
                     </plugin>
                 </plugins>

Reply via email to