-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.xml
37 lines (33 loc) · 1.33 KB
/
settings.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
<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 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>gitlab-maven</id>
<configuration>
<httpHeaders>
<property>
<name>Job-Token</name>
<value>${env.CI_JOB_TOKEN}</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
<profiles>
<profile>
<id>gitlab-build</id>
<properties>
<jboss.releases.repo.id>gitlab-maven</jboss.releases.repo.id>
<jboss.releases.repo.url>https://gitlab.com/api/v4/projects/${env.CI_PROJECT_ID}/packages/maven
</jboss.releases.repo.url>
<jboss.snapshots.repo.id>gitlab-maven</jboss.snapshots.repo.id>
<jboss.snapshots.repo.url>https://gitlab.com/api/v4/projects/${env.CI_PROJECT_ID}/packages/maven
</jboss.snapshots.repo.url>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>gitlab-build</activeProfile>
</activeProfiles>
</settings>