Skip to content

Commit

Permalink
add template file for .travis/settings.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
KengoTODA committed Nov 18, 2017
1 parent aa2a2a0 commit c11533d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .travis/settings.xml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!--
This file is a template for .travis/settings.xml.
This XML contains passphrase and password, so it should be encrypted by `travis encrypt-file` command.
https://docs.travis-ci.com/user/encrypting-files/
-->
<settings>
<servers>
<server>
<!--
User name and password to deploy onto Sonatype repository.
Necessary to deploy both signed artifact (stable version) and unsigned artifact (snapshot version).
-->
<id>ossrh</id>
<username>...</username>
<password>...</password>
</server>
</servers>
<profiles>
<profile>
<!--
GPG passphrase to sign artifacts.
Necessary only if we want to deploy signed artifact (stable version) by Travis CI.
-->
<id>deploy</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.passphrase>...</gpg.passphrase>
</properties>
</profile>
</profiles>
</settings>

0 comments on commit c11533d

Please sign in to comment.