blob: 4a6efbe80cb7fe5d0a052ccd56c39ce6858aecc4 [file] [log] [blame]
Pamela Dragosh91d04c62017-02-14 19:41:00 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Guo Ruijing073cc182017-07-31 08:47:35 +00004 ONAP Policy Engine
Pamela Dragosh91d04c62017-02-14 19:41:00 -05005 ================================================================================
6 Copyright (C) 2017 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
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070011
Pamela Dragosh91d04c62017-02-14 19:41:00 -050012 http://www.apache.org/licenses/LICENSE-2.0
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070013
Pamela Dragosh91d04c62017-02-14 19:41:00 -050014 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
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070023<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
24 license agreements. See the NOTICE file distributed with this work for additional
25 information regarding copyright ownership. The ASF licenses this file to
26 you under the Apache License, Version 2.0 (the "License"); you may not use
27 this file except in compliance with the License. You may obtain a copy of
28 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
29 by applicable law or agreed to in writing, software distributed under the
30 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
31 OF ANY KIND, either express or implied. See the License for the specific
Pamela Dragosh91d04c62017-02-14 19:41:00 -050032 language governing permissions and limitations under the License. -->
33
34
35<!-- Special settings file for the maven installation on AT&T central Jenkins -->
36
37
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070038<!-- | This is the configuration file for Maven. It can be specified at two
39 levels: | | 1. User Level. This settings.xml file provides configuration
40 for a single user, | and is normally provided in ${user.home}/.m2/settings.xml.
41 | | NOTE: This location can be overridden with the CLI option: | | -s /path/to/user/settings.xml
42 | | 2. Global Level. This settings.xml file provides configuration for all
43 Maven | users on a machine (assuming they're all using the same Maven | installation).
44 It's normally provided in | ${maven.home}/conf/settings.xml. | | NOTE: This
45 location can be overridden with the CLI option: | | -gs /path/to/global/settings.xml
46 | | The sections in this sample file are intended to give you a running start
47 at | getting the most out of your Maven installation. Where appropriate,
48 the default | values (values used when the setting is not specified) are
Pamela Dragosh91d04c62017-02-14 19:41:00 -050049 provided. | | -->
50<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
51 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
52 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070053 <!-- localRepository | The path to the local repository maven will use to
Pamela Dragosh91d04c62017-02-14 19:41:00 -050054 store artifacts. | | Default: ${user.home}/.m2/repository <localRepository>/path/to/local/repo</localRepository> -->
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070055
56 <!-- interactiveMode | This will determine whether maven prompts you when
57 it needs input. If set to false, | maven will use a sensible default value,
58 perhaps based on some other setting, for | the parameter in question. | |
Pamela Dragosh91d04c62017-02-14 19:41:00 -050059 Default: true <interactiveMode>true</interactiveMode> -->
60
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070061 <!-- offline | Determines whether maven should attempt to connect to the
62 network when executing a build. | This will have an effect on artifact downloads,
Pamela Dragosh91d04c62017-02-14 19:41:00 -050063 artifact deployment, and others. | | Default: false <offline>false</offline> -->
64
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070065 <!-- pluginGroups | This is a list of additional group identifiers that
66 will be searched when resolving plugins by their prefix, i.e. | when invoking
67 a command line like "mvn prefix:goal". Maven will automatically add the group
68 identifier | "org.apache.maven.plugins" this is not already contained in
69 the list. | -->
Pamela Dragosh91d04c62017-02-14 19:41:00 -050070 <pluginGroups>
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070071 <!-- pluginGroup | Specifies a further group identifier to use for plugin
Pamela Dragosh91d04c62017-02-14 19:41:00 -050072 lookup. <pluginGroup>com.your.plugins</pluginGroup> -->
73 </pluginGroups>
74
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070075 <!-- proxies | This is a list of proxies which can be used on this machine
76 to connect to the network. | Unless otherwise specified (by system property
77 or command-line switch), the first proxy | specification in this list marked
Pamela Dragosh91d04c62017-02-14 19:41:00 -050078 as active will be used. | -->
79
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070080 <!-- servers | This is a list of authentication profiles, keyed by the server-id
81 used within the system. | Authentication profiles can be used whenever maven
Pamela Dragosh91d04c62017-02-14 19:41:00 -050082 must make a connection to a remote server. | -->
83 <servers>
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070084 <!-- server | Specifies the authentication information to use when connecting
85 to a particular server, identified by | a unique name within the system (referred
86 to by the 'id' attribute below). | | NOTE: You should either specify username/password
87 OR privateKey/passphrase, since these pairings are | used together. | <server>
88 <id>deploymentRepo</id> <username>repouser</username> <password>repopwd</password>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050089 </server> -->
90
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070091 <!-- Another sample, using keys to authenticate. <server> <id>siteServer</id>
92 <privateKey>/path/to/private/key</privateKey> <passphrase>optional; leave
Pamela Dragosh91d04c62017-02-14 19:41:00 -050093 empty if not used.</passphrase> </server> -->
94 </servers>
95
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070096 <!-- mirrors | This is a list of mirrors to be used in downloading artifacts
97 from remote repositories. | | It works like this: a POM may declare a repository
98 to use in resolving certain artifacts. | However, this repository may have
99 problems with heavy traffic at times, so people have mirrored | it to several
100 places. | | That repository definition will have a unique id, so we can create
101 a mirror reference for that | repository, to be used as an alternate download
102 site. The mirror site will be the preferred | server for that repository.
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500103 | -->
104 <mirrors>
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -0700105 <!-- mirror | Specifies a repository mirror site to use instead of a given
106 repository. The repository that | this mirror serves has an ID that matches
107 the mirrorOf element of this mirror. IDs are used | for inheritance and direct
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500108 lookup purposes, and must be unique across the set of mirrors. | -->
109
110
111 </mirrors>
112
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -0700113 <!-- profiles | This is a list of profiles which can be activated in a variety
114 of ways, and which can modify | the build process. Profiles provided in the
115 settings.xml are intended to provide local machine- | specific paths and
116 repository locations which allow the build to work in the local environment.
117 | | For example, if you have an integration testing plugin - like cactus
118 - that needs to know where | your Tomcat instance is installed, you can provide
119 a variable here such that the variable is | dereferenced during the build
120 process to configure the cactus plugin. | | As noted above, profiles can
121 be activated in a variety of ways. One way - the activeProfiles | section
122 of this document (settings.xml) - will be discussed later. Another way essentially
123 | relies on the detection of a system property, either matching a particular
124 value for the property, | or merely testing its existence. Profiles can also
125 be activated by JDK version prefix, where a | value of '1.4' might activate
126 a profile when the build is executed on a JDK version of '1.4.2_07'. | Finally,
127 the list of active profiles can be specified directly from the command line.
128 | | NOTE: For profiles defined in the settings.xml, you are restricted to
129 specifying only artifact | repositories, plugin repositories, and free-form
130 properties to be used as configuration | variables for plugins in the POM.
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500131 | | -->
132 <profiles>
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -0700133 <!-- profile | Specifies a set of introductions to the build process, to
134 be activated using one or more of the | mechanisms described above. For inheritance
135 purposes, and to activate profiles via <activatedProfiles/> | or the command
136 line, profiles have to have an ID that is unique. | | An encouraged best
137 practice for profile identification is to use a consistent naming convention
138 | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey',
139 'user-brett', etc. | This will make it more intuitive to understand what
140 the set of introduced profiles is attempting | to accomplish, particularly
141 when you only have a list of profile id's for debug. | | This profile example
142 uses the JDK version to trigger activation, and provides a JDK-specific repo.
143 <profile> <id>jdk-1.4</id> <activation> <jdk>1.4</jdk> </activation> <repositories>
144 <repository> <id>jdk14</id> <name>Repository for JDK 1.4 builds</name> <url>http://www.myhost.com/maven/jdk14</url>
145 <layout>default</layout> <snapshotPolicy>always</snapshotPolicy> </repository>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500146 </repositories> </profile> -->
147
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -0700148 <!-- | Here is another profile, activated by the system property 'target-env'
149 with a value of 'dev', | which provides a specific path to the Tomcat instance.
150 To use this, your plugin configuration | might hypothetically look like:
151 | | ... | <plugin> | <groupId>org.myco.myplugins</groupId> | <artifactId>myplugin</artifactId>
152 | | <configuration> | <tomcatLocation>${tomcatPath}</tomcatLocation> | </configuration>
153 | </plugin> | ... | | NOTE: If you just wanted to inject this configuration
154 whenever someone set 'target-env' to | anything, you could just leave off
155 the <value/> inside the activation-property. | <profile> <id>env-dev</id>
156 <activation> <property> <name>target-env</name> <value>dev</value> </property>
157 </activation> <properties> <tomcatPath>/path/to/tomcat/instance</tomcatPath>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500158 </properties> </profile> -->
159 </profiles>
160
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -0700161 <!-- activeProfiles | List of profiles that are active for all builds. |
162 <activeProfiles> <activeProfile>alwaysActiveProfile</activeProfile> <activeProfile>anotherAlwaysActiveProfile</activeProfile>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500163 </activeProfiles> -->
164</settings>