You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2016/04/04 19:55:28 UTC

svn commit: r1737711 - /maven/site/trunk/content/apt/guides/mini/guide-encryption.apt

Author: khmarbaise
Date: Mon Apr  4 17:55:27 2016
New Revision: 1737711

URL: http://svn.apache.org/viewvc?rev=1737711&view=rev
Log:
Added strong recommendation about using password prompting

Modified:
    maven/site/trunk/content/apt/guides/mini/guide-encryption.apt

Modified: maven/site/trunk/content/apt/guides/mini/guide-encryption.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/apt/guides/mini/guide-encryption.apt?rev=1737711&r1=1737710&r2=1737711&view=diff
==============================================================================
--- maven/site/trunk/content/apt/guides/mini/guide-encryption.apt (original)
+++ maven/site/trunk/content/apt/guides/mini/guide-encryption.apt Mon Apr  4 17:55:27 2016
@@ -241,3 +241,18 @@ mvn.bat --encrypt-master-password "a!$%^
   If you are on a linux/unix platform you should use single quotes for the above 
   master password otherwise you will be astonished that the usage of the master-password
   will not work (caused by the dollar sign and furthermore the exclamation mark).
+
+** Prompting for Password
+
+  In Maven before version 3.2.1 you have to give the password on command line which
+  means you might need to escape your password etc. and might cause problems
+  related to the history funcitonality of your command line processor.
+
+  Starting with Maven 3.2.1 the password is an optional argument which means if you omit
+  the password you will be prompted for the password which can prevent many problems
+  with escaping the password and history issues as well. 
+
+  So we strongly recomment to use Maven 3.2.1 and above to prevent problems with 
+  escaping special characters and of course security issues related to bash
+  history or environment issues in relationship with the password.
+