From 11f5546e6dab2ef0d9877d49c476ef1c00628821 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Sat, 15 Jan 2011 05:35:54 +0000 Subject: [PATCH] [MNG-4971] Display maven home in version info Submitted by: Guo Du o Applied with minor modification git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1059267 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/cli/CLIReportingUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java b/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java index 8049cc244c..b529f0bc82 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java @@ -73,6 +73,8 @@ public final class CLIReportingUtils stdout.println( msg ); + stdout.println( "Maven home: " + System.getProperty( "maven.home", "" ) ); + stdout.println( "Java version: " + System.getProperty( "java.version", "" ) + ", vendor: " + System.getProperty( "java.vendor", "" ) );