Skip to content

Commit

Permalink
GH-1 Attempting to deploy on bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricvidal committed Oct 8, 2018
1 parent fb73a30 commit de115c6
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
15 changes: 15 additions & 0 deletions .travis.settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">

<servers>
<server>
<id>bintray-repo-public-kafka-encryption</id>
<username>cedricvidal</username>
<password>${env.BINTRAY_KEY}</password>
</server>
</servers>

</settings>
20 changes: 12 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
language: java
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as an environment variable
keep-history: false
local-dir: target/generated-docs/
on:
branch: master

- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as an environment variable
keep-history: false
local-dir: target/generated-docs/
on:
branch: master
- provider: script
script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy"
skip_cleanup: true
on:
tags: true
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
<kafka.version>1.1.0</kafka.version>
</properties>

<distributionManagement>
<repository>
<id>bintray-repo-public-kafka-encryption</id>
<url>https://api.bintray.com/maven/quicksign/maven-public/kafka-encryption/;publish=1</url>
</repository>
</distributionManagement>

<dependencyManagement>
<dependencies>

Expand Down

0 comments on commit de115c6

Please sign in to comment.