[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
This commit is contained in:
Benjamin Bentmann 2011-01-15 05:35:54 +00:00
parent 586709aadd
commit 11f5546e6d
1 changed files with 2 additions and 0 deletions

View File

@ -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>" ) );