Skip to content

Commit

Permalink
Replace deprecated systemProperties with systemPropertyVariables.
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Apr 27, 2022
1 parent 50e4b50 commit 9df2fed
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions core/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,10 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<!-- Give tests a hint to not use containers, by default -->
<name>avoid-containers</name>
<value>true</value>
</property>
</systemProperties>
<systemPropertyVariables>
<!-- Give tests a hint to not use containers, by default -->
<avoid-containers>true</avoid-containers>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -205,13 +202,10 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<!-- Enable the container-based tests -->
<name>avoid-containers</name>
<value>false</value>
</property>
</systemProperties>
<systemPropertyVariables>
<!-- Enable the container-based tests -->
<avoid-containers>false</avoid-containers>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 9df2fed

Please sign in to comment.