blob: 3b974c9491ffcf26787f3aaf1b17db3d9f0f9d92 [file] [log] [blame]
Victor Moralesdd074802017-07-26 16:06:35 -05001<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 http://maven.apache.org/xsd/settings-1.0.0.xsd">
4
5 <!-- offline
6 | Determines whether maven should attempt to connect to the network when executing a build.
7 | This will have an effect on artifact downloads, artifact deployment, and others.
8 |
9 | Default: false
10 <offline>false</offline>
11 -->
12 <!-- proxies
13 | This is a list of proxies which can be used on this machine to connect to the network.
14 | Unless otherwise specified (by system property or command-line switch), the first proxy
15 | specification in this list marked as active will be used.
16 |-->
17%PROXIES_START% <proxies>
18%PROXIES% %HTTP_PROXY%
19%PROXIES% %HTTPS_PROXY%
20%PROXIES_END% </proxies>
21 <!-- mirrors
22 | This is a list of mirrors to be used in downloading artifacts from remote repositories.
23 |
24 | It works like this: a POM may declare a repository to use in resolving certain artifacts.
25 | However, this repository may have problems with heavy traffic at times, so people have mirrored
26 | it to several places.
27 |
28 | That repository definition will have a unique id, so we can create a mirror reference for that
29 | repository, to be used as an alternate download site. The mirror site will be the preferred
30 | server for that repository.
31 |-->
32
33 <!-- profiles
34 | This is a list of profiles which can be activated in a variety of ways, and which can modify
35 | the build process. Profiles provided in the settings.xml are intended to provide local machine-
36 | specific paths and repository locations which allow the build to work in the local environment.
37 |
38 | For example, if you have an integration testing plugin - like cactus - that needs to know where
39 | your Tomcat instance is installed, you can provide a variable here such that the variable is
40 | dereferenced during the build process to configure the cactus plugin.
41 |
42 | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
43 | section of this document (settings.xml) - will be discussed later. Another way essentially
44 | relies on the detection of a system property, either matching a particular value for the property,
45 | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
46 | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
47 | Finally, the list of active profiles can be specified directly from the command line.
48 |
49 | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
50 | repositories, plugin repositories, and free-form properties to be used as configuration
51 | variables for plugins in the POM.
52 |
53 |-->
54
55
56
57
58
59 <profiles>
60 <profile>
61
62 <id>10_nexus</id>
63 <!--Enable snapshots for the built in central repo to direct -->
64 <!--all requests to nexus via the mirror -->
65 <repositories>
66 <repository>
67 <id>10_nexus</id>
68 <url>http://repo.maven.apache.org/maven2/</url>
69 <releases><enabled>true</enabled></releases>
70 <snapshots><enabled>true</enabled></snapshots>
71 </repository>
72 </repositories>
73
74 <pluginRepositories>
75 <pluginRepository>
76 <id>10_nexus</id>
77 <url>http://repo.maven.apache.org/maven2/</url>
78 <releases><enabled>true</enabled></releases>
79 <snapshots><enabled>true</enabled></snapshots>
80 </pluginRepository>
81 </pluginRepositories>
82
83 </profile>
84 <profile>
85 <id>20_openecomp-public</id>
86 <repositories>
87 <repository>
88 <id>20_openecomp-public</id>
89 <name>20_openecomp-public</name>
90 <url>https://nexus.onap.org/content/repositories/public/</url>
91 <releases>
92 <enabled>true</enabled>
93 <updatePolicy>daily</updatePolicy>
94 </releases>
95 <snapshots>
96 <enabled>false</enabled>
97 </snapshots>
98 </repository>
99 </repositories>
100 <pluginRepositories>
101 <pluginRepository>
102 <id>20_openecomp-public</id>
103 <name>20_openecomp-public</name>
104 <url>https://nexus.onap.org/content/repositories/public/</url>
105 <releases>
106 <enabled>true</enabled>
107 <updatePolicy>daily</updatePolicy>
108 </releases>
109 <snapshots>
110 <enabled>false</enabled>
111 </snapshots>
112 </pluginRepository>
113 </pluginRepositories>
114 </profile>
115 <profile>
116 <id>30_openecomp-staging</id>
117 <repositories>
118 <repository>
119 <id>30_openecomp-staging</id>
120 <name>30_openecomp-staging</name>
121 <url>https://nexus.onap.org/content/repositories/staging/</url>
122 <releases>
123 <enabled>true</enabled>
124 <updatePolicy>daily</updatePolicy>
125 </releases>
126 <snapshots>
127 <enabled>false</enabled>
128 </snapshots>
129 </repository>
130 </repositories>
131 <pluginRepositories>
132 <pluginRepository>
133 <id>30_openecomp-staging</id>
134 <name>30_openecomp-staging</name>
135 <url>https://nexus.onap.org/content/repositories/staging/</url>
136 <releases>
137 <enabled>true</enabled>
138 <updatePolicy>daily</updatePolicy>
139 </releases>
140 <snapshots>
141 <enabled>false</enabled>
142 </snapshots>
143 </pluginRepository>
144 </pluginRepositories>
145 </profile>
146 <profile>
147 <id>40_openecomp-release</id>
148 <repositories>
149 <repository>
150 <id>40_openecomp-release</id>
151 <name>40_openecomp-release</name>
152 <url>https://nexus.onap.org/content/repositories/releases/</url>
153 <releases>
154 <enabled>true</enabled>
155 <updatePolicy>daily</updatePolicy>
156 </releases>
157 <snapshots>
158 <enabled>false</enabled>
159 </snapshots>
160 </repository>
161 </repositories>
162 <pluginRepositories>
163 <pluginRepository>
164 <id>40_openecomp-release</id>
165 <name>40_openecomp-release</name>
166 <url>https://nexus.onap.org/content/repositories/releases/</url>
167 <releases>
168 <enabled>true</enabled>
169 <updatePolicy>daily</updatePolicy>
170 </releases>
171 <snapshots>
172 <enabled>false</enabled>
173 </snapshots>
174 </pluginRepository>
175 </pluginRepositories>
176 </profile>
177
178 <profile>
179 <id>50_openecomp-snapshots</id>
180 <repositories>
181 <repository>
182 <id>50_openecomp-snapshot</id>
183 <name>50_openecomp-snapshot</name>
184 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
185 <releases>
186 <enabled>false</enabled>
187 </releases>
188 <snapshots>
189 <enabled>true</enabled>
190 </snapshots>
191 </repository>
192 </repositories>
193 <pluginRepositories>
194 <pluginRepository>
195 <id>50_openecomp-snapshot</id>
196 <name>50_openecomp-snapshot</name>
197 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
198 <releases>
199 <enabled>false</enabled>
200 </releases>
201 <snapshots>
202 <enabled>true</enabled>
203 </snapshots>
204 </pluginRepository>
205 </pluginRepositories>
206 </profile>
207 <profile>
208 <id>60_opendaylight-release</id>
209 <repositories>
210 <repository>
211 <id>60_opendaylight-mirror</id>
212 <name>60_opendaylight-mirror</name>
213 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
214 <releases>
215 <enabled>true</enabled>
216 <updatePolicy>daily</updatePolicy>
217 </releases>
218 <snapshots>
219 <enabled>false</enabled>
220 </snapshots>
221 </repository>
222 </repositories>
223 <pluginRepositories>
224 <pluginRepository>
225 <id>60_opendaylight-mirror</id>
226 <name>60_opendaylight-mirror</name>
227 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
228 <releases>
229 <enabled>true</enabled>
230 <updatePolicy>daily</updatePolicy>
231 </releases>
232 <snapshots>
233 <enabled>false</enabled>
234 </snapshots>
235 </pluginRepository>
236 </pluginRepositories>
237 </profile>
238
239 <profile>
240 <id>70_opendaylight-snapshots</id>
241 <repositories>
242 <repository>
243 <id>70_opendaylight-snapshot</id>
244 <name>70_opendaylight-snapshot</name>
245 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
246 <releases>
247 <enabled>false</enabled>
248 </releases>
249 <snapshots>
250 <enabled>true</enabled>
251 </snapshots>
252 </repository>
253 </repositories>
254 <pluginRepositories>
255 <pluginRepository>
256 <id>70_opendaylight-snapshot</id>
257 <name>70_opendaylight-snapshot</name>
258 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
259 <releases>
260 <enabled>false</enabled>
261 </releases>
262 <snapshots>
263 <enabled>true</enabled>
264 </snapshots>
265 </pluginRepository>
266 </pluginRepositories>
267 </profile>
268 </profiles>
269
270 <activeProfiles>
271 <activeProfile>10_nexus</activeProfile>
272 <activeProfile>20_openecomp-public</activeProfile>
273 <activeProfile>30_openecomp-staging</activeProfile>
274 <activeProfile>40_openecomp-release</activeProfile>
275 <activeProfile>50_openecomp-snapshots</activeProfile>
276 <activeProfile>60_opendaylight-release</activeProfile>
277 <activeProfile>70_opendaylight-snapshots</activeProfile>
278
279 </activeProfiles>
280
281</settings>