maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djeanprost <dominique.jean-pr...@sofaxis.com>
Subject Re: Problem with encrypt-password if password contains "&"
Date Thu, 26 Sep 2013 15:38:35 GMT
The solution I found is to write a groovy script :

import org.sonatype.plexus.components.cipher.DefaultPlexusCipher

@Grab(group='org.sonatype.plexus', module='plexus-cipher', version='1.7')
class MavenEncrypt {
    static void main(args) {
        DefaultPlexusCipher cipher = new DefaultPlexusCipher()
        System.out.println(cipher.encryptAndDecorate("toto&titi",
"masterPassword"))
    }
}




--
View this message in context: http://maven.40175.n5.nabble.com/Problem-with-encrypt-password-if-password-contains-tp5771921p5771935.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message