<?xml version= "1.0" encoding= "UTF-8"?> <!--licensed to the Apache Software Foundation (ASF) under one or more C Ontributor license agreements. The NOTICE file distributed with this work for additional information regarding copyright. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); You are not to use this file except in compliance with the License. Obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 unless required by applicable R agreed to in writing, software distributed under the License was distributed on ' as is ' basis, without warranties OR C Onditions of any KIND, either express or implied.
The License for the specific language governing permissions and limitations under the License. --> <!--| This is the configuration file for Maven.
It can be specified at two levels: | | 1. User level. This is settings.xml file provides configuration for a single user, | and is normally provided in ${user.home}/.m2/settings.xml.
| |
Note:this location can be overridden with the CLI option: | |
-s/path/to/user/settings.xml | | 2. Global level. This settings.xml file provides configuration to all Maven | Users on a machine (assuming they ' re all using the same Maven | installation). It ' s normally provided in |
${maven.home}/conf/settings.xml.
| |
Note:this location can be overridden with the CLI option: | |
-gs/path/to/global/settings.xml | | The sections in this sample file are intended to give your a running start at | | Getting the most out of your Maven installation. Where appropriate, the default |
VALUES (values used when the setting are not specified) are provided.
| |--> <settings xmlns= "http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi= "Http://www.w3.org/2001/XMLSchema"
-instance " xsi:schemalocation= "http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" > <!--localrepository |
The path to the local repository maven would use to store artifacts.
| |
Default: ${user.home}/.m2/repository <localRepository>/path/to/local/repo</localRepository>--> <localRepository>D:\Repositories\Maven</localRepository> <!--Interactivemode | This is determine whether Maven prompts when it needs input. If set to False, | Maven would use a sensible default value, perhaps based in some other setting, for |
The parameter in question.
| | Default:true <interactiveMode>true</interactiveMode>--> <!--offline |
Determines whether MAVEN should attempt to connect to the network when executing a builds. |
This is have a effect on artifact downloads, artifact deployment, and others.
| | Default:false <offline>false</offline>--> <!--plugingroups |
This is a list of the additional group identifiers that'll be searched when resolving plugins by their prefix, i.e. | When invoking a command line like "Mvn prefix:goal". Maven would automatically add the group identifiers |
"Org.apache.maven.plugins" and "Org.codehaus.mojo" if these are are not already contained in the list. |--> <pluginGroups> <!--plugingroup |
Specifies a further group identifier to use for plugin lookup. <pluginGroup>com.your.plugins</pluginGroup>--> <plugingroup>org.mortbay.jetty</ Plugingroup> </pluginGroups> <!--proxies |
This is a list of proxies which can are used on this machine to connect to the network. | Unless otherwise specified (by system property or command-line switch), the
Specification in this list marked as active would be used. |--> <proxies> <!--proxy | Specification for one proxy Used in connecting to the network.
| <proxy> <id>optional</id> <active>true</active> <protocol>http</p rotocol> <username>proxyuser</username> <password>proxypass</password>