1. 程式人生 > >Maven full settings.xml

Maven full settings.xml

<?xml version="1.0" encoding="UTF-8"?>

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See 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 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 for 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 you a running start at | getting the most out of your Maven installation. Where appropriate, the default | values (values used when the setting is 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 will use to store artifacts. | | Default: ${user.home}/.m2/repository <localRepository>/path/to/local/repo</localRepository>
--> <localRepository>C:\Users\ahu\.m2\repository</localRepository> <pluginGroups> <pluginGroup>org.mortbay.jetty</pluginGroup> <pluginGroup>org.codehaus.cargo</pluginGroup> </pluginGroups> <proxies> </proxies> <servers> <server> <id>releases</id> <username>deployment</username> <password>deployment123</password> </server> <server> <id>snapshots</id> <username>deployment</username> <password>deployment123</password> </server> </servers> <profiles> <profile> <id>nexus</id> <repositories> <repository> <id>central</id> <name>central</name> <url>http://servername/nexus/content/groups/public/</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>soapui</id> <name>soapui</name> <url>http://www.soapui.org/repository/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>jfrog-plugins</id> <name>jfrog-plugins-dist</name> <url>http://repo.jfrog.org/artifactory/plugins-releases</url> </repository> <repository> <id>repo.jenkins-ci.org</id> <name>jenkins-plugins-dist</name> <url>http://repo.jenkins-ci.org/public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>central</id> <url>http://servername/nexus/content/groups/public/</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </pluginRepository> <pluginRepository> <id>soapui</id> <name>soapui</name> <url>http://www.soapui.org/repository/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </pluginRepository> <pluginRepository> <id>repo.jenkins-ci.org</id> <url>http://repo.jenkins-ci.org/public/</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <mirrors> <mirror> <id>central</id> <mirrorOf>*,!soapui,!jfrog-plugins,!repo.jenkins-ci.org</mirrorOf> <url>http://servername/nexus/content/groups/public/</url> </mirror> <!-- <mirror> <id>soapui</id> <url>http://www.soapui.org/repository/maven2</url> <mirrorOf>*</mirrorOf> </mirror> --> </mirrors> <!-- Give access to Jenkins plugins --> <activeProfiles> <activeProfile>nexus</activeProfile> </activeProfiles> </settings> </settings> <!-- id should be the same as above server id--> <!-- <distributionManagement> <repository> <id>releases</id> <name>Internal Releases</name> <url>http://servername/nexus/content/groups/public/</url> </repository> <snapshotRepository> <id>snapshots</id> <name>Internal Snapshots</name> <url>http://servername/nexus/content/groups/public/ </distributionManagement> -->

相關推薦

Maven full settings.xml

<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements

Mavensettings.xml文件

releases XML nexus release ali settings body private files <?xml version="1.0"?> <settings> <localRepository>D:\re

Mavensettings.xml文件各標簽含義

x文件 rev 擁有 $path eprof 更新 directory 屬性 地址 原文地址:http://www.cnblogs.com/jingmoxukong/p/6050172.html?utm_source=gold_browser_extension sett

maven配置settings.xml

<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc

mavensettings.xml配置檔案詳解

一、Settings.xml基本資訊 Settings.xml是maven全域性引數的配置檔案,其中包含本地倉儲位置、遠端倉儲伺服器、認證資訊等等。 settings.xml檔案一般存在於兩個位置: 全域性配置(global settings): maven安裝目錄/conf/settings

maven新增settings.xml使用阿里雲倉庫

在~/.m2/repository目錄下新建settings.xml,內容如下: <mirrors> <!-- mirror | Specifies a repository mirror site to use instead of a given repository

Apache-mavensettings.xml中元素參考

Apache-maven中settings.xml檔案中的元素: <settings>:根元素 <localRepository>:本地倉庫 <interactiveMode>:是否與使用者互動,預設true <offline

分享一個快的飛起的mavensettings.xml檔案

<?xml version="1.0" encoding="UTF-8"?> <settings> <localRepository>/home/yizhen/.m

mavensettings.xml基本配置

1. 設定本地倉庫位置 <localRepository>E:\Repertory\RepMaven</localRepository> 2. 將阿里雲作為映

Maven配置settings.xml存檔記錄

配置阿里雲映象 <mirrors> <mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf>

Maven 原生 settings.xml 說明【翻譯】

<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agre

maven倉庫settings.xml檔案配置阿里雲下載

<?xml version="1.0" encoding="UTF-8"?>  <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XM

Mavensettings.xml的配置

安裝配置好maven之後 http://blog.csdn.net/qq_22348309/article/details/68925131 則可以進行maven的settings配置了 1.首先

mavensettings.xml

maven的映象以及倉庫位置配置(現成的settings.xml檔案) <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0

配置Mavensettings.xml

在Maven中提供了一個settings.xml檔案來定義Maven的全域性環境資訊。這個檔案會存在於Maven的安裝目錄的conf子目錄下面,或者是使用者Home目錄的.m2子目錄下面。我們可以通過這個檔案來定義本地倉庫、遠端倉庫和聯網使用的代理資訊等。安裝好maven

阿里Maven倉庫 -- Settings.xml

國內連線maven官方的倉庫更新依賴庫,網速一般很慢,收集一些國內快速的maven倉庫映象以備用。 最新更新:2016年11月11日 18:05:40 阿里雲提供Maven私服,我把配置檔案貼一下,自己放在maven的conf下就行,setting.xml

mavensettings.xml配置詳解

maven的配置檔案settings.xml存在於兩個地方: 1.安裝的地方:${M2_HOME}/conf/settings.xml 2.使用者的目錄:${user.home}/.m2/settings.xml 前者又被叫做全域性配置,對作業系統的

settings.xml mavensettings.xml

<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor licen

MavenSettings.xml的配置備份

<?xml version="1.0"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta

maven系列--settings.xml

安裝maven,會有一份settings.xml檔案,我們可以理解這份檔案就是用來管理本地maven的一系列東西的。這裡我先貼出一份完整的原始xml。<?xml version="1.0" encoding="UTF-8"?> <settings xml