Skip to content

Commit

Permalink
Add bintray support
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrouillet committed Aug 13, 2019
1 parent 6bff101 commit e851a35
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
15 changes: 9 additions & 6 deletions .travis.settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
http://maven.apache.org/xsd/settings-1.0.0.xsd">

<activeProfiles>
<activeProfile>github</activeProfile>
<activeProfile>bintray</activeProfile>
</activeProfiles>

<profiles>
<profile>
<id>github</id>
<id>bintray</id>
<repositories>
<repository>
<id>central</id>
Expand All @@ -18,17 +18,20 @@
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>github</id>
<name>GitHub informatique-cdc Apache Maven Packages</name>
<url>https://maven.pkg.github.com/informatique-cdc</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-informatique-cdc-informatique-cdc</id>
<name>bintray</name>
<url>https://dl.bintray.com/informatique-cdc/informatique-cdc</url>
</repository>
</repositories>
</profile>
</profiles>

<servers>
<server>
<id>github</id>
<id>bintray-informatique-cdc</id>
<username>${env.DEPLOY_USERNAME}</username>
<password>${env.DEPLOY_TOKEN}</password>
</server>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Informatique-cdc Apache Maven Packages</name>
<url>https://maven.pkg.github.com/informatique-cdc/ebad-plugin</url>
<id>bintray-informatique-cdc</id>
<name>informatique-cdc</name>
<url>https://api.bintray.com/maven/informatique-cdc/informatique-cdc/ebad-plugin/;publish=1</url>
</repository>
</distributionManagement>
<scm>
Expand Down

0 comments on commit e851a35

Please sign in to comment.