forked from HiveRunner/HiveRunner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings-4-travis.xml
executable file
·39 lines (39 loc) · 1.55 KB
/
settings-4-travis.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<settings>
<servers>
<server>
<id>ossrh</id>
<username>${env.OSSRH_USERNAME}</username>
<password>${env.OSSRH_PASSWORD}</password>
</server>
</servers>
<profiles>
<profile>
<id>travis-profile</id>
<!--
It seems that the settings.xml that is used by default when building using Travis CI includes the codehaus
repository. This repository does not exist any more so this can cause builds to fail during dependency resolution.
By configuring this repository, we seem to be able to override this repo, setting the enabled properties to false.
-->
<repositories>
<repository>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<id>codehaus-snapshots</id>
<name>Codehaus (snapshots)</name>
<url>https://nexus.codehaus.org/snapshots/</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>travis-profile</activeProfile>
</activeProfiles>
</settings>