Victor Morales | 2909e2e | 2017-08-08 15:51:52 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> |
| 5 | <!-- offline | Determines whether maven should attempt to connect to the |
| 6 | network when executing a build. | This will have an effect on artifact downloads, |
| 7 | artifact deployment, and others. | | Default: false <offline>false</offline> --> |
| 8 | <!-- proxies | This is a list of proxies which can be used on this machine |
| 9 | to connect to the network. | Unless otherwise specified (by system property |
| 10 | or command-line switch), the first proxy | specification in this list marked |
| 11 | as active will be used. | --> |
Victor Morales | 2016306 | 2017-08-09 10:50:44 -0500 | [diff] [blame] | 12 | %PROXIES_START% |
Victor Morales | 2909e2e | 2017-08-08 15:51:52 -0500 | [diff] [blame] | 13 | %PROXIES% %HTTP_PROXY% |
| 14 | %PROXIES% %HTTPS_PROXY% |
Victor Morales | 2016306 | 2017-08-09 10:50:44 -0500 | [diff] [blame] | 15 | %PROXIES_END% |
Victor Morales | 2909e2e | 2017-08-08 15:51:52 -0500 | [diff] [blame] | 16 | <!-- mirrors | This is a list of mirrors to be used in downloading artifacts |
| 17 | from remote repositories. | | It works like this: a POM may declare a repository |
| 18 | to use in resolving certain artifacts. | However, this repository may have |
| 19 | problems with heavy traffic at times, so people have mirrored | it to several |
| 20 | places. | | That repository definition will have a unique id, so we can create |
| 21 | a mirror reference for that | repository, to be used as an alternate download |
| 22 | site. The mirror site will be the preferred | server for that repository. |
| 23 | | --> |
| 24 | <!-- profiles | This is a list of profiles which can be activated in a variety |
| 25 | of ways, and which can modify | the build process. Profiles provided in the |
| 26 | settings.xml are intended to provide local machine- | specific paths and |
| 27 | repository locations which allow the build to work in the local environment. |
| 28 | | | For example, if you have an integration testing plugin - like cactus |
| 29 | - that needs to know where | your Tomcat instance is installed, you can provide |
| 30 | a variable here such that the variable is | dereferenced during the build |
| 31 | process to configure the cactus plugin. | | As noted above, profiles can |
| 32 | be activated in a variety of ways. One way - the activeProfiles | section |
| 33 | of this document (settings.xml) - will be discussed later. Another way essentially |
| 34 | | relies on the detection of a system property, either matching a particular |
| 35 | value for the property, | or merely testing its existence. Profiles can also |
| 36 | be activated by JDK version prefix, where a | value of '1.4' might activate |
| 37 | a profile when the build is executed on a JDK version of '1.4.2_07'. | Finally, |
| 38 | the list of active profiles can be specified directly from the command line. |
| 39 | | | NOTE: For profiles defined in the settings.xml, you are restricted to |
| 40 | specifying only artifact | repositories, plugin repositories, and free-form |
| 41 | properties to be used as configuration | variables for plugins in the POM. |
| 42 | | | --> |
| 43 | <profiles> |
| 44 | <profile> |
| 45 | <id>00_maven</id> |
| 46 | <repositories> |
| 47 | <repository> |
| 48 | <id>00_maven</id> |
| 49 | <url>https://maven.restlet.com</url> |
| 50 | </repository> |
| 51 | </repositories> |
| 52 | </profile> |
| 53 | <profile> |
| 54 | <id>10_nexus</id> |
| 55 | <repositories> |
| 56 | <repository> |
| 57 | <id>10_nexus</id> |
| 58 | <url>http://repo.maven.apache.org/maven2/</url> |
| 59 | <releases> |
| 60 | <enabled>true</enabled> |
| 61 | </releases> |
| 62 | <snapshots> |
| 63 | <enabled>true</enabled> |
| 64 | </snapshots> |
| 65 | </repository> |
| 66 | </repositories> |
| 67 | <pluginRepositories> |
| 68 | <pluginRepository> |
| 69 | <id>10_nexus</id> |
| 70 | <url>http://repo.maven.apache.org/maven2/</url> |
| 71 | <releases> |
| 72 | <enabled>true</enabled> |
| 73 | </releases> |
| 74 | <snapshots> |
| 75 | <enabled>true</enabled> |
| 76 | </snapshots> |
| 77 | </pluginRepository> |
| 78 | </pluginRepositories> |
| 79 | </profile> |
| 80 | <profile> |
| 81 | <id>20_openecomp-public</id> |
| 82 | <repositories> |
| 83 | <repository> |
| 84 | <id>20_openecomp-public</id> |
| 85 | <name>20_openecomp-public</name> |
| 86 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 87 | <releases> |
| 88 | <enabled>true</enabled> |
| 89 | <updatePolicy>daily</updatePolicy> |
| 90 | </releases> |
| 91 | <snapshots> |
| 92 | <enabled>false</enabled> |
| 93 | </snapshots> |
| 94 | </repository> |
| 95 | </repositories> |
| 96 | <pluginRepositories> |
| 97 | <pluginRepository> |
| 98 | <id>20_openecomp-public</id> |
| 99 | <name>20_openecomp-public</name> |
| 100 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 101 | <releases> |
| 102 | <enabled>true</enabled> |
| 103 | <updatePolicy>daily</updatePolicy> |
| 104 | </releases> |
| 105 | <snapshots> |
| 106 | <enabled>false</enabled> |
| 107 | </snapshots> |
| 108 | </pluginRepository> |
| 109 | </pluginRepositories> |
| 110 | </profile> |
| 111 | <profile> |
| 112 | <id>30_openecomp-staging</id> |
| 113 | <repositories> |
| 114 | <repository> |
| 115 | <id>30_openecomp-staging</id> |
| 116 | <name>30_openecomp-staging</name> |
| 117 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 118 | <releases> |
| 119 | <enabled>true</enabled> |
| 120 | <updatePolicy>daily</updatePolicy> |
| 121 | </releases> |
| 122 | <snapshots> |
| 123 | <enabled>false</enabled> |
| 124 | </snapshots> |
| 125 | </repository> |
| 126 | </repositories> |
| 127 | <pluginRepositories> |
| 128 | <pluginRepository> |
| 129 | <id>30_openecomp-staging</id> |
| 130 | <name>30_openecomp-staging</name> |
| 131 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 132 | <releases> |
| 133 | <enabled>true</enabled> |
| 134 | <updatePolicy>daily</updatePolicy> |
| 135 | </releases> |
| 136 | <snapshots> |
| 137 | <enabled>false</enabled> |
| 138 | </snapshots> |
| 139 | </pluginRepository> |
| 140 | </pluginRepositories> |
| 141 | </profile> |
| 142 | <profile> |
| 143 | <id>40_openecomp-release</id> |
| 144 | <repositories> |
| 145 | <repository> |
| 146 | <id>40_openecomp-release</id> |
| 147 | <name>40_openecomp-release</name> |
| 148 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 149 | <releases> |
| 150 | <enabled>true</enabled> |
| 151 | <updatePolicy>daily</updatePolicy> |
| 152 | </releases> |
| 153 | <snapshots> |
| 154 | <enabled>false</enabled> |
| 155 | </snapshots> |
| 156 | </repository> |
| 157 | </repositories> |
| 158 | <pluginRepositories> |
| 159 | <pluginRepository> |
| 160 | <id>40_openecomp-release</id> |
| 161 | <name>40_openecomp-release</name> |
| 162 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 163 | <releases> |
| 164 | <enabled>true</enabled> |
| 165 | <updatePolicy>daily</updatePolicy> |
| 166 | </releases> |
| 167 | <snapshots> |
| 168 | <enabled>false</enabled> |
| 169 | </snapshots> |
| 170 | </pluginRepository> |
| 171 | </pluginRepositories> |
| 172 | </profile> |
| 173 | <profile> |
| 174 | <id>50_openecomp-snapshots</id> |
| 175 | <repositories> |
| 176 | <repository> |
| 177 | <id>50_openecomp-snapshot</id> |
| 178 | <name>50_openecomp-snapshot</name> |
| 179 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 180 | <releases> |
| 181 | <enabled>false</enabled> |
| 182 | </releases> |
| 183 | <snapshots> |
| 184 | <enabled>true</enabled> |
| 185 | </snapshots> |
| 186 | </repository> |
| 187 | </repositories> |
| 188 | <pluginRepositories> |
| 189 | <pluginRepository> |
| 190 | <id>50_openecomp-snapshot</id> |
| 191 | <name>50_openecomp-snapshot</name> |
| 192 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 193 | <releases> |
| 194 | <enabled>false</enabled> |
| 195 | </releases> |
| 196 | <snapshots> |
| 197 | <enabled>true</enabled> |
| 198 | </snapshots> |
| 199 | </pluginRepository> |
| 200 | </pluginRepositories> |
| 201 | </profile> |
| 202 | <profile> |
| 203 | <id>60_opendaylight-release</id> |
| 204 | <repositories> |
| 205 | <repository> |
| 206 | <id>60_opendaylight-mirror</id> |
| 207 | <name>60_opendaylight-mirror</name> |
| 208 | <url>https://nexus.opendaylight.org/content/repositories/public/</url> |
| 209 | <releases> |
| 210 | <enabled>true</enabled> |
| 211 | <updatePolicy>daily</updatePolicy> |
| 212 | </releases> |
| 213 | <snapshots> |
| 214 | <enabled>false</enabled> |
| 215 | </snapshots> |
| 216 | </repository> |
| 217 | </repositories> |
| 218 | <pluginRepositories> |
| 219 | <pluginRepository> |
| 220 | <id>60_opendaylight-mirror</id> |
| 221 | <name>60_opendaylight-mirror</name> |
| 222 | <url>https://nexus.opendaylight.org/content/repositories/public/</url> |
| 223 | <releases> |
| 224 | <enabled>true</enabled> |
| 225 | <updatePolicy>daily</updatePolicy> |
| 226 | </releases> |
| 227 | <snapshots> |
| 228 | <enabled>false</enabled> |
| 229 | </snapshots> |
| 230 | </pluginRepository> |
| 231 | </pluginRepositories> |
| 232 | </profile> |
| 233 | <profile> |
| 234 | <id>70_opendaylight-snapshots</id> |
| 235 | <repositories> |
| 236 | <repository> |
| 237 | <id>70_opendaylight-snapshot</id> |
| 238 | <name>70_opendaylight-snapshot</name> |
| 239 | <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> |
| 240 | <releases> |
| 241 | <enabled>false</enabled> |
| 242 | </releases> |
| 243 | <snapshots> |
| 244 | <enabled>true</enabled> |
| 245 | </snapshots> |
| 246 | </repository> |
| 247 | </repositories> |
| 248 | <pluginRepositories> |
| 249 | <pluginRepository> |
| 250 | <id>70_opendaylight-snapshot</id> |
| 251 | <name>70_opendaylight-snapshot</name> |
| 252 | <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> |
| 253 | <releases> |
| 254 | <enabled>false</enabled> |
| 255 | </releases> |
| 256 | <snapshots> |
| 257 | <enabled>true</enabled> |
| 258 | </snapshots> |
| 259 | </pluginRepository> |
| 260 | </pluginRepositories> |
| 261 | </profile> |
| 262 | <profile> |
| 263 | <id>80_onap</id> |
| 264 | <repositories> |
| 265 | <repository> |
| 266 | <id>onap-snapshots</id> |
| 267 | <name>onap-snapshots</name> |
| 268 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 269 | <releases> |
| 270 | <enabled>false</enabled> |
| 271 | </releases> |
| 272 | <snapshots> |
| 273 | <enabled>true</enabled> |
| 274 | </snapshots> |
| 275 | </repository> |
| 276 | <repository> |
| 277 | <id>onap-staging</id> |
| 278 | <name>onap-staging</name> |
| 279 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 280 | <releases> |
| 281 | <enabled>true</enabled> |
| 282 | </releases> |
| 283 | <snapshots> |
| 284 | <enabled>false</enabled> |
| 285 | </snapshots> |
| 286 | </repository> |
| 287 | <repository> |
| 288 | <id>onap-releases</id> |
| 289 | <name>onap-releases</name> |
| 290 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 291 | <releases> |
| 292 | <enabled>true</enabled> |
| 293 | </releases> |
| 294 | <snapshots> |
| 295 | <enabled>false</enabled> |
| 296 | </snapshots> |
| 297 | </repository> |
| 298 | <repository> |
| 299 | <id>onap-public</id> |
| 300 | <name>onap-public</name> |
| 301 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 302 | <releases> |
| 303 | <enabled>true</enabled> |
| 304 | </releases> |
| 305 | <snapshots> |
| 306 | <enabled>false</enabled> |
| 307 | </snapshots> |
| 308 | </repository> |
| 309 | </repositories> |
| 310 | <pluginRepositories> |
| 311 | <pluginRepository> |
| 312 | <id>onap-snapshots</id> |
| 313 | <name>onap-snapshots</name> |
| 314 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 315 | <releases> |
| 316 | <enabled>false</enabled> |
| 317 | </releases> |
| 318 | <snapshots> |
| 319 | <enabled>true</enabled> |
| 320 | </snapshots> |
| 321 | </pluginRepository> |
| 322 | <pluginRepository> |
| 323 | <id>onap-staging</id> |
| 324 | <name>onap-staging</name> |
| 325 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 326 | <releases> |
| 327 | <enabled>true</enabled> |
| 328 | </releases> |
| 329 | <snapshots> |
| 330 | <enabled>false</enabled> |
| 331 | </snapshots> |
| 332 | </pluginRepository> |
| 333 | <pluginRepository> |
| 334 | <id>onap-releases</id> |
| 335 | <name>onap-releases</name> |
| 336 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 337 | <releases> |
| 338 | <enabled>true</enabled> |
| 339 | </releases> |
| 340 | <snapshots> |
| 341 | <enabled>false</enabled> |
| 342 | </snapshots> |
| 343 | </pluginRepository> |
| 344 | <pluginRepository> |
| 345 | <id>onap-public</id> |
| 346 | <name>onap-public</name> |
| 347 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 348 | <releases> |
| 349 | <enabled>true</enabled> |
| 350 | </releases> |
| 351 | <snapshots> |
| 352 | <enabled>false</enabled> |
| 353 | </snapshots> |
| 354 | </pluginRepository> |
| 355 | </pluginRepositories> |
| 356 | </profile> |
| 357 | </profiles> |
| 358 | <activeProfiles> |
| 359 | <activeProfile>00_maven</activeProfile> |
| 360 | <activeProfile>10_nexus</activeProfile> |
| 361 | <activeProfile>20_openecomp-public</activeProfile> |
| 362 | <activeProfile>30_openecomp-staging</activeProfile> |
| 363 | <activeProfile>40_openecomp-release</activeProfile> |
| 364 | <activeProfile>50_openecomp-snapshots</activeProfile> |
| 365 | <activeProfile>60_opendaylight-release</activeProfile> |
| 366 | <activeProfile>70_opendaylight-snapshots</activeProfile> |
| 367 | <activeProfile>80_onap</activeProfile> |
| 368 | </activeProfiles> |
| 369 | </settings> |