blob: 5db52989fadc49b600a60d9a3cdafd19e57af72c [file] [log] [blame]
waqas.ikramb01df8b2019-07-09 16:14:17 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (c) 2016-2018 Huawei Technologies Co., Ltd. and others. All rights reserved.
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7 http://www.apache.org/licenses/LICENSE-2.0
8 Unless required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS,
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 See the License for the specific language governing permissions and
12 limitations under the License.
13-->
14<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
15 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
17
18<localRepository>${user.home}/.m2/repository</localRepository>
19 <profiles>
20 <profile>
21 <id>onap-settings</id>
22 <properties>
23 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
24 <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload>
25 <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download>
26 <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid>
27
28 <!-- properties for Nexus Docker registry -->
29 <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>
30 <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release>
31 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
32 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
33 </properties>
34 </profile>
35 <profile>
36 <id>onap-snapshots</id>
37 <repositories>
38 <repository>
39 <id>onap-snapshots</id>
40 <name>onap-snapshots</name>
41 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
42 <releases>
43 <enabled>false</enabled>
44 </releases>
45 <snapshots>
46 <enabled>true</enabled>
47 </snapshots>
48 </repository>
49 </repositories>
50 <pluginRepositories>
51 <pluginRepository>
52 <id>onap-snapshots</id>
53 <name>onap-snapshots</name>
54 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
55 <releases>
56 <enabled>false</enabled>
57 </releases>
58 <snapshots>
59 <enabled>true</enabled>
60 </snapshots>
61 </pluginRepository>
62 </pluginRepositories>
63 </profile>
64 <profile>
65 <id>onap-releases</id>
66 <repositories>
67 <repository>
68 <id>onap-releases</id>
69 <name>onap-releases</name>
70 <url>https://nexus.onap.org/content/repositories/releases/</url>
71 <releases>
72 <enabled>true</enabled>
73 </releases>
74 <snapshots>
75 <enabled>false</enabled>
76 </snapshots>
77 </repository>
78 </repositories>
79 <pluginRepositories>
80 <pluginRepository>
81 <id>onap-releases</id>
82 <name>onap-releases</name>
83 <url>https://nexus.onap.org/content/repositories/releases/</url>
84 <releases>
85 <enabled>true</enabled>
86 </releases>
87 <snapshots>
88 <enabled>false</enabled>
89 </snapshots>
90 </pluginRepository>
91 </pluginRepositories>
92 </profile>
93 <profile>
94 <id>onap-public</id>
95 <repositories>
96 <repository>
97 <id>central</id>
98 <url>http://repo1.maven.org/maven2/</url>
99 </repository>
100 <repository>
101 <id>onap-public</id>
102 <name>onap-public</name>
103 <url>https://nexus.onap.org/content/repositories/public/</url>
104 <releases>
105 <enabled>true</enabled>
106 </releases>
107 <snapshots>
108 <enabled>false</enabled>
109 </snapshots>
110 </repository>
111 </repositories>
112 <pluginRepositories>
113 <pluginRepository>
114 <id>central</id>
115 <url>http://repo1.maven.org/maven2/</url>
116 </pluginRepository>
117 <pluginRepository>
118 <id>onap-public</id>
119 <name>onap-public</name>
120 <url>https://nexus.onap.org/content/repositories/public/</url>
121 <releases>
122 <enabled>true</enabled>
123 </releases>
124 <snapshots>
125 <enabled>false</enabled>
126 </snapshots>
127 </pluginRepository>
128 </pluginRepositories>
129 </profile>
130 <profile>
131 <!-- Configure this profile if you have a local nexus cache -->
132 <id>local-public</id>
133 <repositories>
134 <repository>
135 <id>local-public</id>
136 <name>local-public</name>
137 <url>http://nexus-proxy:8081/nexus/content/repositories/public/</url>
138 <releases>
139 <enabled>true</enabled>
140 </releases>
141 <snapshots>
142 <enabled>false</enabled>
143 </snapshots>
144 </repository>
145 </repositories>
146 <pluginRepositories>
147 <pluginRepository>
148 <id>local-public</id>
149 <name>local-public</name>
150 <url>http://nexus-proxy:8081/nexus/content/repositories/public/</url>
151 <releases>
152 <enabled>true</enabled>
153 </releases>
154 <snapshots>
155 <enabled>false</enabled>
156 </snapshots>
157 </pluginRepository>
158 </pluginRepositories>
159 </profile>
160 </profiles>
161
162 <activeProfiles>
163 <activeProfile>onap-settings</activeProfile>
164 <activeProfile>onap-snapshots</activeProfile>
165 <activeProfile>onap-releases</activeProfile>
166 <activeProfile>onap-public</activeProfile>
167 <!-- <activeProfile>local-public</activeProfile> -->
168 </activeProfiles>
169
170</settings>
171