[MSHARED-1307] systemProperties is deprecated: Use systemPropertyVari… (#68)
* [MSHARED-1307] systemProperties is deprecated: Use systemPropertyVariables instead
diff --git a/pom.xml b/pom.xml
index 751dfdf..35b9c9a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,13 +106,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
- <systemProperties>
+ <systemPropertyVariables>
<!-- required for maven-invoker to locate Maven installation -->
- <property>
- <name>maven.home</name>
- <value>${maven.home}</value>
- </property>
- </systemProperties>
+ <maven.home>${maven.home}</maven.home>
+ </systemPropertyVariables>
<excludes>
<exclude>test-build-should*/**</exclude>
</excludes>
@@ -139,12 +136,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <systemProperties combine.children="append">
- <property>
- <name>maven.repo.local</name>
- <value>${maven.repo.local}</value>
- </property>
- </systemProperties>
+ <systemPropertyVariables combine.children="append">
+ <maven.repo.local>${maven.repo.local}</maven.repo.local>
+ </systemPropertyVariables>
</configuration>
</plugin>
</plugins>