-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add template file for .travis/settings.xml
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |