blob: 82e22ed985f36e8c182f1fa472900dfa6fe22a77 [file] [log] [blame]
Kevin Sandicb0f23f2021-08-13 19:18:09 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!-- vi: set et smarttab sw=2 tabstop=2: -->
3
4<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
7
8 <mirrors>
9 <mirror>
10 <id>release-mirror</id>
11 <name>Local Nexus mirror for builds</name>
12 <url>${env.NEXUS_URL}/content/repositories/public/</url>
13 <mirrorOf>central</mirrorOf>
14 </mirror>
15 </mirrors>
16
17 <profiles>
18 <profile>
19 <id>releases</id>
20 <repositories>
21 <repository>
22 <id>releases</id>
23 <name>releases</name>
24 <url>${env.NEXUS_URL}/content/repositories/releases/</url>
25 <releases>
26 <enabled>true</enabled>
27 <updatePolicy>never</updatePolicy>
28 </releases>
29 <snapshots>
30 <enabled>false</enabled>
31 </snapshots>
32 </repository>
33 </repositories>
34 <pluginRepositories>
35 <pluginRepository>
36 <id>releases</id>
37 <name>releases</name>
38 <url>${env.NEXUS_URL}/content/repositories/releases/</url>
39 <releases>
40 <enabled>true</enabled>
41 <updatePolicy>never</updatePolicy>
42 </releases>
43 <snapshots>
44 <enabled>false</enabled>
45 </snapshots>
46 </pluginRepository>
47 </pluginRepositories>
48 </profile>
49
50 <profile>
51 <id>staging</id>
52 <repositories>
53 <repository>
54 <id>staging</id>
55 <name>staging</name>
56 <url>${env.NEXUS_URL}/content/repositories/staging/</url>
57 <releases>
58 <enabled>true</enabled>
59 </releases>
60 <snapshots>
61 <enabled>false</enabled>
62 </snapshots>
63 </repository>
64 </repositories>
65 </profile>
66
67 <profile>
68 <id>snapshots</id>
69 <repositories>
70 <repository>
71 <id>snapshots</id>
72 <name>snapshots</name>
73 <url>${env.NEXUS_URL}/content/repositories/snapshots/</url>
74 <releases>
75 <enabled>false</enabled>
76 </releases>
77 <snapshots>
78 <enabled>true</enabled>
79 </snapshots>
80 </repository>
81 </repositories>
82 <pluginRepositories>
83 <pluginRepository>
84 <id>snapshots</id>
85 <name>snapshots</name>
86 <url>${env.NEXUS_URL}/content/repositories/snapshots/</url>
87 <releases>
88 <enabled>false</enabled>
89 </releases>
90 <snapshots>
91 <enabled>true</enabled>
92 </snapshots>
93 </pluginRepository>
94 </pluginRepositories>
95 </profile>
96
97 </profiles>
98
99 <activeProfiles>
100 <activeProfile>releases</activeProfile>
101 <activeProfile>snapshots</activeProfile>
102 </activeProfiles>
103</settings>