You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2023/09/28 23:38:44 UTC

[maven-invoker] 01/01: [MSHARED-1307] systemProperties is deprecated: Use systemPropertyVariables instead

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

elharo pushed a commit to branch MSHARED-1307
in repository https://gitbox.apache.org/repos/asf/maven-invoker.git

commit 178e53a9593c135a91d5dcaa853815245a93939f
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Thu Sep 28 19:38:34 2023 -0400

    [MSHARED-1307] systemProperties is deprecated: Use systemPropertyVariables instead
---
 pom.xml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 751dfdf..0d29fcd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,13 +106,10 @@ under the License.
         <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>