On 09/18/2016 11:52 AM, Sathwik B P wrote: > Hi, > > How do I secure my password used in settings.yaml file? The password goes > out in clear text as seen below. > > ** Execute > http://admin:xxxxxxxx@192.168.0.101:8080/repository/snapshots/org/apache/ode/apache-ode-docs/1.3.7-SNAPSHOT/apache-ode-docs-1.3.7-SNAPSHOT.pom > > settings.yaml > -------------------- > repositories: > release_to: > url: http://localhost:8080/repository/snapshots > username: admin > password: xxxxxxxx > > regards, > sathwik >
Looks like the recommended way is to move the username and password out to ~/.buildr/buildr.rb which is a special file private to you. From lib/buildr/packaging/artifacts.rb # For example, the Buildfile will contain the repository URL used by # all developers: # repositories.release_to[:url] ||= 'sftp://example.com/var/www/repo' # Your private buildr.rb will contain your credentials: # repositories.release_to[:username] = 'john' # repositories.release_to[:password] = 'secret' --------- Regards, Alex
signature.asc
Description: OpenPGP digital signature