Skip to content

Commit e049d25

Browse files
author
bosob
committed
[INTERNAL] [FIX] Deploy to GitHub Packages
1 parent 742a97a commit e049d25

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.travis.settings.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
4+
http://maven.apache.org/xsd/settings-1.0.0.xsd">
5+
6+
<activeProfiles>
7+
<activeProfile>github</activeProfile>
8+
</activeProfiles>
9+
10+
<profiles>
11+
<profile>
12+
<id>github</id>
13+
<repositories>
14+
<repository>
15+
<id>central</id>
16+
<url>https://repo1.maven.org/maven2</url>
17+
<releases><enabled>true</enabled></releases>
18+
<snapshots><enabled>true</enabled></snapshots>
19+
</repository>
20+
<repository>
21+
<id>github</id>
22+
<name>GitHub Befrish Apache Maven Packages</name>
23+
<url>https://maven.pkg.github.com/Befrish/jqwik-vavr</url>
24+
</repository>
25+
</repositories>
26+
</profile>
27+
</profiles>
28+
29+
<servers>
30+
<server>
31+
<id>github</id>
32+
<username>${env.GITHUB_USERNAME}</username>
33+
<password>${env.GITHUB_TOKEN}</password>
34+
</server>
35+
</servers>
36+
</settings>

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ deploy:
2323
on:
2424
tags: true
2525
after_deploy:
26-
- mvn deploy -Dregistry=https://maven.pkg.github.com/Befrish -Dtoken=GITHUB_TOKEN -DskipTests=true -Dmaven.javadoc.skip=true -Dchecks.skip=true -B -V
26+
- mvn --settings .travis.settings.xml deploy -Dregistry=https://maven.pkg.github.com/Befrish -DskipTests=true -Dmaven.javadoc.skip=true -Dchecks.skip=true -B -V

0 commit comments

Comments
 (0)