diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java index 4dcb0b7189..1615d58aaf 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java @@ -504,7 +504,7 @@ public class MavenCli Console cons; char[] password; if ( ( cons = System.console() ) != null - && ( password = cons.readPassword( "Master password:") ) != null ) + && ( password = cons.readPassword( "Master password: " ) ) != null ) { // Cipher uses Strings passwd = String.copyValueOf( password ); @@ -529,7 +529,7 @@ public class MavenCli Console cons; char[] password; if ( ( cons = System.console() ) != null - && ( password = cons.readPassword( "Password:" ) ) != null ) + && ( password = cons.readPassword( "Password: " ) ) != null ) { // Cipher uses Strings passwd = String.copyValueOf( password );