blob: fa536695b1d9c34463f2f89cdde3cc07c0a17e6b [file] [log] [blame]
Eric Ball2a0d0e52021-12-14 17:07:08 -08001<?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.NEXUSPROXY}/content/repositories/public/</url>
13 <mirrorOf>central</mirrorOf>
14 </mirror>
15 </mirrors>
16
17 <profiles>
18 <profile>
19 <id>onap-settings</id>
20 <properties>
21 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
22 <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload>
23 <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download>
24 <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid>
25
26 <!-- properties for Nexus Docker registry -->
27 <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>
28 <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release>
29 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
30 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
31 </properties>
32 </profile>
33 <profile>
34 <id>releases</id>
35 <repositories>
36 <repository>
37 <id>releases</id>
38 <name>releases</name>
39 <url>^${env.NEXUSPROXY}/content/repositories/releases/</url>
40 <releases>
41 <enabled>true</enabled>
42 <updatePolicy>never</updatePolicy>
43 </releases>
44 <snapshots>
45 <enabled>false</enabled>
46 </snapshots>
47 </repository>
48 </repositories>
49
50 <pluginRepositories>
51 <pluginRepository>
52 <id>releases</id>
53 <name>releases</name>
54 <url>^${env.NEXUSPROXY}/content/repositories/releases/</url>
55 <releases>
56 <enabled>true</enabled>
57 <updatePolicy>never</updatePolicy>
58 </releases>
59 <snapshots>
60 <enabled>false</enabled>
61 </snapshots>
62 </pluginRepository>
63 </pluginRepositories>
64 </profile>
65
66 <profile>
67 <id>onap-public</id>
68 <repositories>
69 <repository>
70 <id>central</id>
71 <url>http://repo1.maven.org/maven2/</url>
72 </repository>
73 <repository>
74 <id>onap-public</id>
75 <name>onap-public</name>
76 <url>https://nexus.onap.org/content/repositories/public/</url>
77 <releases>
78 <enabled>true</enabled>
79 </releases>
80 <snapshots>
81 <enabled>false</enabled>
82 </snapshots>
83 </repository>
84 </repositories>
85 <pluginRepositories>
86 <pluginRepository>
87 <id>central</id>
88 <url>http://repo1.maven.org/maven2/</url>
89 </pluginRepository>
90 <pluginRepository>
91 <id>onap-public</id>
92 <name>onap-public</name>
93 <url>https://nexus.onap.org/content/repositories/public/</url>
94 <releases>
95 <enabled>true</enabled>
96 </releases>
97 <snapshots>
98 <enabled>false</enabled>
99 </snapshots>
100 </pluginRepository>
101 </pluginRepositories>
102 </profile>
103
104 <profile>
105 <id>staging</id>
106 <repositories>
107 <repository>
108 <id>staging</id>
109 <name>staging</name>
110 <url>^${env.NEXUSPROXY}/content/repositories/staging/</url>
111 <releases>
112 <enabled>true</enabled>
113 </releases>
114 <snapshots>
115 <enabled>false</enabled>
116 </snapshots>
117 </repository>
118 </repositories>
119 </profile>
120
121 <profile>
122 <id>snapshots</id>
123 <repositories>
124 <repository>
125 <id>snapshots</id>
126 <name>snapshots</name>
127 <url>^${env.NEXUSPROXY}/content/repositories/snapshots/</url>
128 <releases>
129 <enabled>false</enabled>
130 </releases>
131 <snapshots>
132 <enabled>true</enabled>
133 </snapshots>
134 </repository>
135 </repositories>
136
137 <pluginRepositories>
138 <pluginRepository>
139 <id>snapshots</id>
140 <name>snapshots</name>
141 <url>^${env.NEXUSPROXY}/content/repositories/snapshots/</url>
142 <releases>
143 <enabled>false</enabled>
144 </releases>
145 <snapshots>
146 <enabled>true</enabled>
147 </snapshots>
148 </pluginRepository>
149 </pluginRepositories>
150 </profile>
Jessica Wagantallf21237e2022-08-03 17:32:11 -0700151 <profile>
152 <id>local_m2</id>
153 <repositories>
154 <repository>
155 <id>local_m2</id>
156 <name>local_m2</name>
157 <url>file:///tmp/r</url>
158 <releases>
159 <enabled>true</enabled>
160 </releases>
161 <snapshots>
162 <enabled>false</enabled>
163 </snapshots>
164 </repository>
165 </repositories>
166 </profile>
Eric Ball2a0d0e52021-12-14 17:07:08 -0800167 </profiles>
168
169 <activeProfiles>
170 <activeProfile>onap-public</activeProfile>
171 <activeProfile>onap-settings</activeProfile>
172 <activeProfile>releases</activeProfile>
173 <activeProfile>snapshots</activeProfile>
Jessica Wagantallf21237e2022-08-03 17:32:11 -0700174 <activeProfile>local_m2</activeProfile>
Eric Ball2a0d0e52021-12-14 17:07:08 -0800175 </activeProfiles>
176</settings>