maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r1059267 - /maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
Date Sat, 15 Jan 2011 05:35:54 GMT
Author: bentmann
Date: Sat Jan 15 05:35:54 2011
New Revision: 1059267

URL: http://svn.apache.org/viewvc?rev=1059267&view=rev
Log:
[MNG-4971] Display maven home in version info
Submitted by: Guo Du

o Applied with minor modification

Modified:
    maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

Modified: maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java?rev=1059267&r1=1059266&r2=1059267&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
(original)
+++ maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
Sat Jan 15 05:35:54 2011
@@ -73,6 +73,8 @@ public final class CLIReportingUtils
 
         stdout.println( msg );
 
+        stdout.println( "Maven home: " + System.getProperty( "maven.home", "<unknown maven
home>" ) );
+
         stdout.println( "Java version: " + System.getProperty( "java.version", "<unknown
java version>" )
             + ", vendor: " + System.getProperty( "java.vendor", "<unknown vendor>"
) );
 



Mime
View raw message