mirror of https://github.com/apache/maven.git
[MNG-4944] Include JRE vendor in version info
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1050717 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a670011864
commit
6b46e51179
|
@ -73,15 +73,16 @@ public final class CLIReportingUtils
|
||||||
|
|
||||||
stdout.println( msg );
|
stdout.println( msg );
|
||||||
|
|
||||||
stdout.println( "Java version: " + System.getProperty( "java.version", "<unknown java version>" ) );
|
stdout.println( "Java version: " + System.getProperty( "java.version", "<unknown java version>" )
|
||||||
|
+ ", vendor: " + System.getProperty( "java.vendor", "<unknown vendor>" ) );
|
||||||
|
|
||||||
stdout.println( "Java home: " + System.getProperty( "java.home", "<unknown java home>" ) );
|
stdout.println( "Java home: " + System.getProperty( "java.home", "<unknown java home>" ) );
|
||||||
|
|
||||||
stdout.println( "Default locale: " + Locale.getDefault() + ", platform encoding: "
|
stdout.println( "Default locale: " + Locale.getDefault() + ", platform encoding: "
|
||||||
+ System.getProperty( "file.encoding", "<unknown encoding>" ) );
|
+ System.getProperty( "file.encoding", "<unknown encoding>" ) );
|
||||||
|
|
||||||
stdout.println( "OS name: \"" + Os.OS_NAME + "\" version: \"" + Os.OS_VERSION + "\" arch: \"" + Os.OS_ARCH
|
stdout.println( "OS name: \"" + Os.OS_NAME + "\", version: \"" + Os.OS_VERSION + "\", arch: \"" + Os.OS_ARCH
|
||||||
+ "\" Family: \"" + Os.OS_FAMILY + "\"" );
|
+ "\", family: \"" + Os.OS_FAMILY + "\"" );
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String reduce( String s )
|
private static String reduce( String s )
|
||||||
|
|
Loading…
Reference in New Issue