blob: a1afa63523ff497a8fc320834602251a8e51e0e7 [file] [log] [blame]
Pamela Dragosha974aa02017-02-14 19:31:53 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Guo Ruijingf8a620d2017-07-28 08:21:14 +00004 ONAP Policy Engine - Common Modules
Pamela Dragosha974aa02017-02-14 19:31:53 -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
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<!-- 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
32 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
38<!-- | 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
49 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">
53 <!-- localRepository | The path to the local repository maven will use to
54 store artifacts. | | Default: ${user.home}/.m2/repository <localRepository>/path/to/local/repo</localRepository> -->
55
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. | |
59 Default: true <interactiveMode>true</interactiveMode> -->
60
61 <!-- offline | Determines whether maven should attempt to connect to the
62 network when executing a build. | This will have an effect on artifact downloads,
63 artifact deployment, and others. | | Default: false <offline>false</offline> -->
64
65 <!-- 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 identifiers | "org.apache.maven.plugins" and "org.codehaus.mojo" if these
69 are not already contained in the list. | -->
70 <pluginGroups>
71 <!-- pluginGroup | Specifies a further group identifier to use for plugin
72 lookup. <pluginGroup>com.your.plugins</pluginGroup> -->
73 </pluginGroups>
74
75 <!-- 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
78 as active will be used. | -->
79 <proxies>
80 </proxies>
81
82 <!-- servers | This is a list of authentication profiles, keyed by the server-id
83 used within the system. | Authentication profiles can be used whenever maven
84 must make a connection to a remote server. | -->
85 <servers>
86 <!-- server | Specifies the authentication information to use when connecting
87 to a particular server, identified by | a unique name within the system (referred
88 to by the 'id' attribute below). | | NOTE: You should either specify username/password
89 OR privateKey/passphrase, since these pairings are | used together. | <server>
90 <id>deploymentRepo</id> <username>repouser</username> <password>repopwd</password>
91 </server> -->
92
93 <!-- Another sample, using keys to authenticate. <server> <id>siteServer</id>
94 <privateKey>/path/to/private/key</privateKey> <passphrase>optional; leave
95 empty if not used.</passphrase> </server> -->
96 </servers>
97
98 <!-- mirrors | This is a list of mirrors to be used in downloading artifacts
99 from remote repositories. | | It works like this: a POM may declare a repository
100 to use in resolving certain artifacts. | However, this repository may have
101 problems with heavy traffic at times, so people have mirrored | it to several
102 places. | | That repository definition will have a unique id, so we can create
103 a mirror reference for that | repository, to be used as an alternate download
104 site. The mirror site will be the preferred | server for that repository.
105 | -->
106 <mirrors>
107 <!-- mirror | Specifies a repository mirror site to use instead of a given
108 repository. The repository that | this mirror serves has an ID that matches
109 the mirrorOf element of this mirror. IDs are used | for inheritance and direct
110 lookup purposes, and must be unique across the set of mirrors. | -->
111
112 </mirrors>
113
114 <!-- profiles | This is a list of profiles which can be activated in a variety
115 of ways, and which can modify | the build process. Profiles provided in the
116 settings.xml are intended to provide local machine- | specific paths and
117 repository locations which allow the build to work in the local environment.
118 | | For example, if you have an integration testing plugin - like cactus
119 - that needs to know where | your Tomcat instance is installed, you can provide
120 a variable here such that the variable is | dereferenced during the build
121 process to configure the cactus plugin. | | As noted above, profiles can
122 be activated in a variety of ways. One way - the activeProfiles | section
123 of this document (settings.xml) - will be discussed later. Another way essentially
124 | relies on the detection of a system property, either matching a particular
125 value for the property, | or merely testing its existence. Profiles can also
126 be activated by JDK version prefix, where a | value of '1.4' might activate
127 a profile when the build is executed on a JDK version of '1.4.2_07'. | Finally,
128 the list of active profiles can be specified directly from the command line.
129 | | NOTE: For profiles defined in the settings.xml, you are restricted to
130 specifying only artifact | repositories, plugin repositories, and free-form
131 properties to be used as configuration | variables for plugins in the POM.
132 | | -->
133 <profiles>
134 <!-- profile | Specifies a set of introductions to the build process, to
135 be activated using one or more of the | mechanisms described above. For inheritance
136 purposes, and to activate profiles via <activatedProfiles/> | or the command
137 line, profiles have to have an ID that is unique. | | An encouraged best
138 practice for profile identification is to use a consistent naming convention
139 | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey',
140 'user-brett', etc. | This will make it more intuitive to understand what
141 the set of introduced profiles is attempting | to accomplish, particularly
142 when you only have a list of profile id's for debug. | | This profile example
143 uses the JDK version to trigger activation, and provides a JDK-specific repo.
144 <profile> <id>jdk-1.4</id> <activation> <jdk>1.4</jdk> </activation> <repositories>
145 <repository> <id>jdk14</id> <name>Repository for JDK 1.4 builds</name> <url>http://www.myhost.com/maven/jdk14</url>
146 <layout>default</layout> <snapshotPolicy>always</snapshotPolicy> </repository>
147 </repositories> </profile> -->
148
149 <!-- | Here is another profile, activated by the system property 'target-env'
150 with a value of 'dev', | which provides a specific path to the Tomcat instance.
151 To use this, your plugin configuration | might hypothetically look like:
152 | | ... | <plugin> | <groupId>org.myco.myplugins</groupId> | <artifactId>myplugin</artifactId>
153 | | <configuration> | <tomcatLocation>${tomcatPath}</tomcatLocation> | </configuration>
154 | </plugin> | ... | | NOTE: If you just wanted to inject this configuration
155 whenever someone set 'target-env' to | anything, you could just leave off
156 the <value/> inside the activation-property. | <profile> <id>env-dev</id>
157 <activation> <property> <name>target-env</name> <value>dev</value> </property>
158 </activation> <properties> <tomcatPath>/path/to/tomcat/instance</tomcatPath>
159 </properties> </profile> -->
160 </profiles>
161
162 <!-- activeProfiles | List of profiles that are active for all builds. |
163 <activeProfiles> <activeProfile>alwaysActiveProfile</activeProfile> <activeProfile>anotherAlwaysActiveProfile</activeProfile>
164 </activeProfiles> -->
165</settings>
166