Skip to content

Commit

Permalink
Vagrantfile now sets the SmartyStreets Java SDK Team GPG keypair as d…
Browse files Browse the repository at this point in the history
…efault.
  • Loading branch information
MouaYing committed Jun 29, 2016
1 parent 28bc927 commit 06ad291
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ end

$provision = <<-EOF
apt-get install -y maven openjdk-7-jdk
sed -i -r "s/#default-key 621CC013/default-key F39CD1E9/g" /home/vagrant/.gnupg/gpg.conf
sed -i -r "s%<servers>%<servers>\
<server>\
<id>ossr</id>\
<username>smartystreets</username>\
<password>$OSSRH_PASSWORD</password>\
</server>%g" /etc/maven/settings.xml
sed -i -r "s%<profiles>%<profiles><profile><id>ossrh</id><activation><activeByDefault>true</activeByDefault></activation><properties><gpg.executable>gpg</gpg.executable><gpg.passphrase>password</gpg.passphrase></properties></profile>%g" /etc/maven/settings.xml
EOF

0 comments on commit 06ad291

Please sign in to comment.