mirror of https://github.com/apache/maven.git
Capitalize names in missing -v output
This commit is contained in:
parent
7e2d657fa0
commit
d556da8434
|
@ -58,14 +58,14 @@ public final class CLIReportingUtils
|
|||
version.append( createMavenVersionString( properties ) ).append( ls );
|
||||
version.append( reduce(
|
||||
properties.getProperty( "distributionShortName" ) + " home: " + System.getProperty( "maven.home",
|
||||
"<unknown maven "
|
||||
"<unknown Maven "
|
||||
+ "home>" ) ) )
|
||||
.append(
|
||||
ls );
|
||||
version.append( "Java version: " ).append(
|
||||
System.getProperty( "java.version", "<unknown java version>" ) ).append( ", vendor: " ).append(
|
||||
System.getProperty( "java.version", "<unknown Java version>" ) ).append( ", vendor: " ).append(
|
||||
System.getProperty( "java.vendor", "<unknown vendor>" ) ).append( ls );
|
||||
version.append( "Java home: " ).append( System.getProperty( "java.home", "<unknown java home>" ) ).append( ls );
|
||||
version.append( "Java home: " ).append( System.getProperty( "java.home", "<unknown Java home>" ) ).append( ls );
|
||||
version.append( "Default locale: " ).append( Locale.getDefault() ).append( ", platform encoding: " ).append(
|
||||
System.getProperty( "file.encoding", "<unknown encoding>" ) ).append( ls );
|
||||
version.append( "OS name: \"" ).append( Os.OS_NAME ).append( "\", version: \"" ).append( Os.OS_VERSION ).append(
|
||||
|
|
Loading…
Reference in New Issue