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