github/maven-plugins — pull request #16 by brettporter (2012-05-10 17:15:34+00:00)
Title: support for encrypted passwords

Added the Maven 3 API for retrieving the authentication credentials from the repository system, rather than manually getting them from the settings file, which will ensure that they are first decrypted.

With this in place, you could remove the Settings object and extra branch altogether - if you're not looking to maintain the behaviour of the API.

I haven't tested this change on the download mojo as I'm not using it, but I expect it works the same. Happy to revise as needed.