I am in the process of developing a Grails plugin (for Grails 2) and want to release it to our internal maven repository which is password protected. From the documentation, I have configured the repo in my BuildConfig.groovy as follows:
The above configuration works for releasing the plugin, however it leaves the password exposed in plain text. How can I encrypt the password so that it is not exposed? Externalizing it encrypted would be ideal but I'd take either encrypting it within the app or externalizing it. Thanks!Code:grails.project.dependency.distribution = { remoteRepository(id: "release", url: "http://myrepository.com/") { authentication username:"myusername", password:"mypassword" } }


Reply With Quote
