grails-samples/grails-website — comment on commit 57559698d50eafdca8998812200d9b02d29af514
File: grails-app/services/org/grails/maven/PluginDeployService.groovy line 19
By graemerocher:

Is it not better to use bean override configuration. So push the values in rather then the service pulling them out? i.e.:

beans {
pluginDeployService {
deployUsername = "blah"
}
}