Recover a Maven encrypted password?

Jesse Glick picture Jesse Glick · Oct 9, 2012 · Viewed 9k times · Source

I have Maven set up for password encryption with a master password, and some time ago I encrypted a password with that and stored it in my settings.xml. The password is successfully in use by Maven plugins.

Now I want to recover that password for use outside Maven (performing an operation manually using a web browser). Is there a command to simply print the decrypted version of a server password?

Answer

Ionuț G. Stan picture Ionuț G. Stan · Mar 7, 2016

Use the maven-settings-decoder tool.