As we all know and most probably use the maven's password encryption feature and with that, we also tend to forget the password which is when we think it would be great if I could decrypt/recover the password. Honestly, thanks to my "sharp" memory, I required it a few times and then I end up googling. So here is a note to self and since you are still reading this, you are also looking for the same :-). Download the maven-settings-decoder tool Extract it to some directory you can remember In your terminal, enter the following command ./settings-decoder -f /path/to/your/maven/ settings.xml -s /path/to/your/maven/ settings-security.xml You should see output like following Done. Cheers !!! - Jay
It's quite normal and natural that we as developers are working on multiple projects at the same time and these projects can/will be a mix of your professional and personal projects or other opensource projects. It's also likely that you have these projects stored and versioned in git (if not stop reading this and add your code to version control NOW) either on public Git hosting like GitHub, BitBucket etc or within your organizations privately hosted Git. So all is good, you have your code in your local Git, you have it in your remote, it's versioned, backed up etc. But how do you keep your access separate, say, for example, your work identity and personal? You obviously do not want to use your work identity in your personal projects and vice-versa and at the same time, you also want to just work seamlessly between projects without always remembering on these identity part. Most common and secure way to access your git repo is through your SSH keys and by default git ref