Return-Path: X-Original-To: apmail-maven-commits-archive@www.apache.org Delivered-To: apmail-maven-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A99A104F3 for ; Sat, 22 Mar 2014 14:33:23 +0000 (UTC) Received: (qmail 5075 invoked by uid 500); 22 Mar 2014 14:33:22 -0000 Delivered-To: apmail-maven-commits-archive@maven.apache.org Received: (qmail 5034 invoked by uid 500); 22 Mar 2014 14:33:20 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 5026 invoked by uid 99); 22 Mar 2014 14:33:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2014 14:33:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2014 14:33:17 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4E9D12388993; Sat, 22 Mar 2014 14:32:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1580215 - /maven/site/trunk/content/apt/guides/mini/guide-encryption.apt Date: Sat, 22 Mar 2014 14:32:50 -0000 To: commits@maven.apache.org From: khmarbaise@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140322143250.4E9D12388993@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: khmarbaise Date: Sat Mar 22 14:32:49 2014 New Revision: 1580215 URL: http://svn.apache.org/r1580215 Log: [MNGSITE-159] - Added explanation for usage of passwords with special characters on different platforms. 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=1580215&r1=1580214&r2=1580215&view=diff ============================================================================== --- maven/site/trunk/content/apt/guides/mini/guide-encryption.apt (original) +++ maven/site/trunk/content/apt/guides/mini/guide-encryption.apt Sat Mar 22 14:32:49 2014 @@ -216,3 +216,24 @@ jSMOWnoPFgsHVpMvz5VrIt5kRbzGpI8u+{EF1iFQ and settings security file. Keep this file secure (or stored separately) if you expect the possibility that the <<>> file may be retrieved. +** Password Escaping on different platforms + + On some platforms it might be neccessary to quote your password based on the content of your + password in particular having special characters like <<<%>>>, <<>>, <<<$>>> etc. in there. + For example on Windows you have to be carefull about things like the following: + + The following example will not work on Windows: + ++----+ +mvn.bat --encrypt-master-password a!$%^b ++----+ + + whereas the following will work on Windows: + ++----+ +mvn.bat --encrypt-master-password "a!$%^b" ++----+ + + 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).