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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to