Skip to content

Commit 49c8ade

Browse files
committed
continuous delivery of snapshots
1 parent c47dae3 commit 49c8ade

File tree

3 files changed

+60
-2
lines changed

3 files changed

+60
-2
lines changed

.travis.settings.xml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!--
2+
~ Licensed to GraphHopper GmbH under one or more contributor
3+
~ license agreements. See the NOTICE file distributed with this work for
4+
~ additional information regarding copyright ownership.
5+
~
6+
~ GraphHopper GmbH licenses this file to you under the Apache License,
7+
~ Version 2.0 (the "License"); you may not use this file except in
8+
~ compliance with the License. You may obtain a copy of the License at
9+
~
10+
~ http://www.apache.org/licenses/LICENSE-2.0
11+
~
12+
~ Unless required by applicable law or agreed to in writing, software
13+
~ distributed under the License is distributed on an "AS IS" BASIS,
14+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
~ See the License for the specific language governing permissions and
16+
~ limitations under the License.
17+
-->
18+
19+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
21+
<servers>
22+
<server>
23+
<id>packagecloud-graphhopper</id>
24+
<password>${env.PACKAGECLOUD_TOKEN}</password>
25+
</server>
26+
</servers>
27+
</settings>

.travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,20 @@ jdk:
44
- oraclejdk7
55
- oraclejdk8
66

7+
deploy:
8+
provider: script
9+
script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy"
10+
skip_cleanup: true
11+
on:
12+
tags: true
13+
14+
# do not install anything instead return true via unix command true
15+
install: true
16+
script: mvn clean test
17+
notifications:
18+
email:
19+
20+
21+
# enable container-based stack
22+
sudo: false
23+

pom.xml

+16-2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<tag>HEAD</tag>
5757
</scm>
5858

59+
5960
<issueManagement>
6061
<system>github</system>
6162
<url>https://github.com/graphhopper/jsprit/issues</url>
@@ -81,6 +82,15 @@
8182
</properties>
8283

8384
<build>
85+
86+
<extensions>
87+
<extension>
88+
<groupId>io.packagecloud.maven.wagon</groupId>
89+
<artifactId>maven-packagecloud-wagon</artifactId>
90+
<version>0.0.4</version>
91+
</extension>
92+
</extensions>
93+
8494
<sourceDirectory>src/main/java</sourceDirectory>
8595
<testSourceDirectory>src/test/java</testSourceDirectory>
8696
<directory>target</directory>
@@ -180,9 +190,13 @@
180190
</dependencies>
181191

182192
<distributionManagement>
193+
<repository>
194+
<id>packagecloud-graphhopper</id>
195+
<url>packagecloud+https://packagecloud.io/graphhopper/jsprit</url>
196+
</repository>
183197
<snapshotRepository>
184-
<id>ossrh</id>
185-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
198+
<id>packagecloud-graphhopper</id>
199+
<url>packagecloud+https://packagecloud.io/graphhopper/jsprit</url>
186200
</snapshotRepository>
187201
</distributionManagement>
188202

0 commit comments

Comments
 (0)