Update git submodules
[oom.git] / kubernetes / policy / components / policy-drools-pdp / resources / configmaps / settings.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP
5   ================================================================================
6   Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19   ============LICENSE_END=========================================================
20 -->
21
22
23 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
24     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25     xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
26
27     <offline>{{.Values.nexus.offline}}</offline>
28
29     <profiles>
30
31         <profile>
32             <id>policy-local</id>
33
34             <repositories>
35                 <repository>
36                     <id>file-repository</id>
37                     <url>file:${user.home}/.m2/file-repository</url>
38                     <releases>
39                         <enabled>true</enabled>
40                         <updatePolicy>always</updatePolicy>
41                     </releases>
42                     <snapshots>
43                         <enabled>true</enabled>
44                         <updatePolicy>always</updatePolicy>
45                     </snapshots>
46                 </repository>
47             </repositories>
48
49         </profile>
50
51         <profile>
52             <id>policy-releases</id>
53
54             <repositories>
55                 <repository>
56                     <id>${env.RELEASE_REPOSITORY_ID}</id>
57                     <url>${env.RELEASE_REPOSITORY_URL}</url>
58                     <releases>
59                         <enabled>true</enabled>
60                         <updatePolicy>always</updatePolicy>
61                     </releases>
62                     <snapshots>
63                         <enabled>false</enabled>
64                     </snapshots>
65                 </repository>
66             </repositories>
67
68         </profile>
69
70         <profile>
71             <id>policy-snapshots</id>
72
73             <repositories>
74                 <repository>
75                     <id>${env.SNAPSHOT_REPOSITORY_ID}</id>
76                     <url>${env.SNAPSHOT_REPOSITORY_URL}</url>
77                     <releases>
78                         <enabled>false</enabled>
79                     </releases>
80                     <snapshots>
81                         <enabled>true</enabled>
82                         <updatePolicy>always</updatePolicy>
83                     </snapshots>
84                 </repository>
85             </repositories>
86
87         </profile>
88
89         <profile>
90             <id>onap-releases</id>
91
92             <repositories>
93                 <repository>
94                     <id>onap-releases</id>
95                     <name>onap-releases</name>
96                     <url>https://nexus.onap.org/content/repositories/releases/</url>
97                     <releases>
98                         <enabled>true</enabled>
99                     </releases>
100                     <snapshots>
101                         <enabled>false</enabled>
102                     </snapshots>
103                 </repository>
104             </repositories>
105
106         </profile>
107
108         <profile>
109
110             <id>onap-snapshots</id>
111
112             <repositories>
113                 <repository>
114                     <id>onap-snapshots</id>
115                     <name>onap-snapshots</name>
116                     <url>https://nexus.onap.org/content/repositories/snapshots/</url>
117                     <releases>
118                         <enabled>false</enabled>
119                     </releases>
120                     <snapshots>
121                         <enabled>true</enabled>
122                     </snapshots>
123                 </repository>
124             </repositories>
125
126         </profile>
127
128     </profiles>
129
130     <activeProfiles>
131         <activeProfile>policy-local</activeProfile>
132         <activeProfile>policy-releases</activeProfile>
133         <activeProfile>policy-snapshots</activeProfile>
134         <activeProfile>onap-releases</activeProfile>
135         <activeProfile>onap-snapshots</activeProfile>
136     </activeProfiles>
137
138     <servers>
139         <server>
140             <id>${env.SNAPSHOT_REPOSITORY_ID}</id>
141             <username>${env.REPOSITORY_USERNAME}</username>
142             <password>${env.REPOSITORY_PASSWORD}</password>
143         </server>
144         <server>
145             <id>${env.RELEASE_REPOSITORY_ID}</id>
146             <username>${env.REPOSITORY_USERNAME}</username>
147             <password>${env.REPOSITORY_PASSWORD}</password>
148         </server>
149     </servers>
150
151 </settings>