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 52f2053833..e1a4c2f593 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 @@ -63,12 +63,11 @@ public final class CLIReportingUtils properties.getProperty( "distributionShortName" ) + " home: " + System.getProperty( "maven.home", "" ) ) ) - .append( - ls ); + .append( ls ); version.append( "Java version: " ).append( System.getProperty( "java.version", "" ) ).append( ", vendor: " ).append( - System.getProperty( "java.vendor", "" ) ).append( ls ); - version.append( "Java home: " ).append( System.getProperty( "java.home", "" ) ).append( ls ); + System.getProperty( "java.vendor", "" ) ).append( ", runtime: " ).append( + System.getProperty( "java.home", "" ) ).append( ls ); version.append( "Default locale: " ).append( Locale.getDefault() ).append( ", platform encoding: " ).append( System.getProperty( "file.encoding", "" ) ).append( ls ); version.append( "OS name: \"" ).append( Os.OS_NAME ).append( "\", version: \"" ).append( Os.OS_VERSION ).append(