Skip to content

Commit

Permalink
Factorize surefire argLine
Browse files Browse the repository at this point in the history
  • Loading branch information
rdenarie committed May 22, 2024
1 parent a66215a commit 7c5badd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exo.kernel.component.cache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
<argLine>@{argLine} @{surefire.argLine} -Djava.net.preferIPv4Stack=true</argLine>
<systemProperties>
<!-- Avoid the firewall -->
<property>
Expand Down
2 changes: 1 addition & 1 deletion exo.kernel.component.common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
<argLine>@{argLine} @{surefire.argLine} -Djava.net.preferIPv4Stack=true</argLine>
<systemProperties>
<!-- Avoid the firewall -->
<property>
Expand Down
2 changes: 1 addition & 1 deletion exo.kernel.component.ext.cache.impl.infinispan.v8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED -Djava.net.preferIPv4Stack=true</argLine>
<argLine>@{argLine} @{surefire.argLine} -Djava.net.preferIPv4Stack=true</argLine>
<systemProperties>
<!-- Avoid the firewall -->
<property>
Expand Down

0 comments on commit 7c5badd

Please sign in to comment.