typos in deploy, missing code formatting
@@ -44,22 +44,28 @@ the sonatype repository
You can use --add or copy and paste to the global section manually.
I had issues with the repo, so you may want to add -r nats-io/java-nats
+```bash
> cd java-nats
> travis encrypt SONATYPE_USERNAME="<YOUR_JIRA_USER_NAME>" --add
> travis encrypt SONATYPE_PASSWORD="<YOUR_JIRA_PASSWORD>" --add
> travis encrypt GPG_KEY_ID="<TRAVIS_GPG_KEY_ID>" --add
> travis encrypt GPG_KEY_PASSPHRASE="<TRAVIS_KEY_PASSPHRASE>" --add
+```
or use
+```bash
> travis encrypt -i
+```
to avoid passwords in shell history.
To get the signing key to travis, export it and put it in the .travis folder
+```bash
> gpg --export-secret-key <TRAVIS_KEY_ID> > nats.travis.gpg
> travis encrypt-file .travis/nats.travis.gpg
+```
Update the before install as instructed
