Could it be that you need to escape some curly-brace in the encrypted master password? See "tips" of [1].
/Anders [1] http://maven.apache.org/guides/mini/guide-encryption.html On Fri, Feb 11, 2011 at 16:08, qa_test <[email protected]> wrote: > > Hi all, > > Trying to encrypt a password - Win XP. I searched the list but didn't see > anything that jumped out as the solution. > > I was able to encrypt a master password without any trouble and stored it > in > settings-security.xml in my user_home/.m2 directory. > > When I try to encrypt a server password, I get the following exception: > > [ERROR] Error executing Maven. > [ERROR] javax.crypto.BadPaddingException: Given final block not properly > padded > [ERROR] Caused by: Given final block not properly padded > > Can anyone help? > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Cannot-encrypt-server-password-exception-Maven-3-0-2-tp3381341p3381341.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
