<?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.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>C:\Program Files\Apache\apache-maven-3.6.3\conf\repository</localRepository><!-- interactiveMode | This will determine whether maven prompts you when it needs input. If set to false, | maven will use a sensible default value, perhaps based on 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 build. | This will have an effect on artifact downloads, artifact deployment, and others. | | Default: false <offline>false</offline> --><!-- pluginGroups | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e. | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list. | --><pluginGroups><!-- pluginGroup | Specifies a further group identifier to use for plugin lookup. <pluginGroup>com.your.plugins</pluginGroup> --></pluginGroups><!-- proxies | This is a list of proxies which can be used on this machine to connect to the network. | Unless otherwise specified (by system property or command-line switch), the first proxy | specification in this list marked as active will be used. | --><proxies><!-- proxy | Specification for one proxy, to be used in connecting to the network. | <proxy> <id>optional</id> <active>true</active> <protocol>http</protocol> <username>proxyuser</username> <password>proxypass</password> <host>proxy.host.net</host> <port>80</port> <nonProxyHosts>local.net|some.host.com</nonProxyHosts> </proxy> --></proxies><!-- servers | This is a list of authentication profiles, keyed by the server-id used within the system. | Authentication profiles can be used whenever maven must make a connection to a remote server. | --><!-- mirrors | This is a list of mirrors to be used in downloading artifacts from remote repositories. | | It works like this: a POM may declare a repository to use in resolving certain artifacts. | However, this repository may have problems with heavy traffic at times, so people have mirrored | it to several places. | | That repository definition will have a unique id, so we can create a mirror reference for that | repository, to be used as an alternate download site. The mirror site will be the preferred | server for that repository. | --><mirrors><!-- mirror | Specifies a repository mirror site to use instead of a igven repository. The repository that | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used | for inheritance and direct lookup purposes, and must be unique across the set of mirrors. | <mirror> <id>mirrorId</id> <mirrorOf>repositoryId</mirrorOf> <name>Human Readable Name for this Mirror.</name> <url>http://my.repository.com/repo/path</url> </mirror> --><!-- 阿里云仓库 --><mirror><id>alimaven</id><mirrorOf>central</mirrorOf><name>aliyun maven</name><url>http://maven.aliyun.com/nexus/content/repositories/central/</url></mirror><mirror><id>alimaven</id><name>aliyun maven</name><url>http://maven.aliyun.com/nexus/content/groups/public/</url><mirrorOf>central</mirrorOf></mirror></mirrors><!-- profiles | This is a list of profiles which can be activated in a variety of ways, and which can modify | the build process. Profiles provided in the settings.xml are intended to provide local machine- | specific paths and repository locations which allow the build to work in the local environment. | | For example, if you have an integration testing plugin - like cactus - that needs to know where | your Tomcat instance is installed, you can provide a variable here such that the variable is | dereferenced during the build process to configure the cactus plugin. | | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles | section of this document (settings.xml) - will be discussed later. Another way essentially | relies on the detection of a system property, either matching a particular value for the property, | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'. | Finally, the list of active profiles can be specified directly from the command line. | | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact | repositories, plugin repositories, and free-form properties to be used as configuration | variables for plugins in the POM. | | --><profiles><profile><id>jdk-1.8</id><activation><activeByDefault>true</activeByDefault><jdk>1.8</jdk></activation><properties><maven.compiler.source>1.8</maven.compiler.source><maven.compiler.target>1.8</maven.compiler.target><maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion></properties></profile></profiles><!-- activeProfiles | List of profiles that are active for all builds. | <activeProfiles> <activeProfile>alwaysActiveProfile</activeProfile> <activeProfile>anotherAlwaysActiveProfile</activeProfile> </activeProfiles> -->
</settings>

setting文件配置(通用型)相关推荐

  1. setting文件配置

    简介 settings.xml文件中的settings元素包含了很多子元素,它们定义的值被用来配置Maven的执行情况.该settings文件的设置会被应用到很多个项目上,因此这里的设置不应该和任何一 ...

  2. java settings文件夹_JAVA工具例大全--Setting文件读取配置参数

    用类cn.hutool.setting.AbsSetting的如下方法:getDouble public Double getDouble(String key, String group) 获取do ...

  3. Maven中setting文件的配置

    镜像服务器的修改: <mirror><id>alimaven</id><name>aliyun maven</name><url> ...

  4. 开发技术-setting文件与pom文件配置maven私服

    1.需求: 今天公司替换私服地址,原有的地址弃用了,重新搞了下私服.记录一下. 2.实现: 1)setting文件中mirrors节点里配置镜像 <mirror><id>nex ...

  5. 某数字化校园系统通用型文件上传漏洞getshell(渗透测试-0day)

    目录 1.前言 2.文件上传点(实战复现) 3.提交SRC 4.getshell POC 声明: 仅用于渗透测试,白帽漏洞挖掘.请勿用做非法用途,非法使用造成后果自负. 1.前言 偶然在F12sec上 ...

  6. 『C/C++养成计划』Visual Studio Code编辑器配置(外观通用型扩展Minmal)

    Visual Studio Code编辑器配置(外观&通用型扩展&Minmal)! 文章目录 一. vscode配置外观|通用型扩展 1.1. 色彩主题配置扩展(GitHub Them ...

  7. 通用型AI算法服务器硬件配置有哪些?

    答:通用型AI算法服务器硬件配置一般包括处理器.存储器.网络卡.显卡和内存等.处理器至关重要,因为它提供系统的计算能力:存储器可以提供大量的存储空间:网络卡可以支持多种协议进行数据交换:显卡可以提供图 ...

  8. 阿里云服务器通用型实例g5 怎么样好不好?性能配置分析

    阿里云服务器通用型实例g5 是阿里云通用型实例中的性能平衡机型,主机性能.网络性能等都比较均衡. g5的特点如下:I/O优化实例 支持IPv6 支持ESSD云盘.SSD云盘和高效云盘 说明 不同实例规 ...

  9. 瑞芯微RK3566通用型SoC参数配置

    瑞芯微RK3566芯片是一款专为消费类行业应用打造的通用型SoC.CPU采用4核A55架构处理器,集成G52图形处理器,内置独立的NPU,运行安卓11和Linux系统.RK3566主要面向平板电脑.带 ...

最新文章

  1. zedgraph支持游标吗_经典格斗游戏中的隐藏人物,当年在游戏厅你能选出来吗
  2. 1.编写程序,打印基本ASCII码表(可印刷32到126)。
  3. sklearn自学指南(part35)--近邻传播及均值漂移
  4. 再有人问你volatile是什么,把这篇文章也发给他。
  5. Innodb之监控Buffer pool Load progress
  6. 给mac配置adb 路径
  7. Unity3D播放视频
  8. SQL动态配置,动态解析SQL
  9. html5移动端webscoket实现在线聊天
  10. Python3—爬虫实现有道在线翻译—(常见错误汇总及解决方法)
  11. 一次失败的Thoughtworks面试经历
  12. 安装SQL Server2000 与 SP4补丁时挂起解决
  13. java数组声明语句代码,Java 数组(学习 Java 编程语言 013-014)
  14. iOS - 检测耳机孔是否存在耳机:
  15. 数据探索性分析(EDA)——异常值处理
  16. Cloud一分钟 |谷歌总裁李佳离职;三星将为5G网络投220亿美元;人人网6000万美元贱卖...
  17. 汽车+大数据=变形金刚?解读汽车大数据价值
  18. 基于springboot与layui的防疫物资管理管理系统
  19. CPU Designer
  20. SpringCache详解(尚硅谷谷粒商城)

热门文章

  1. 非插件修改 WordPress 标签云样式
  2. 鹰眼轨迹android,鹰眼轨迹服务
  3. MATLAB定态氢原子波函数可视化
  4. 为什么服务器系统会异常,windows服务器查看系统异常
  5. oracle 统计表总数
  6. 什么东西比地球上的沙子还要多?
  7. 集十三位资深程序员毕生功力回答:普通程序员如何自学才能进大厂?
  8. 什么模式下不可使用曝光补偿_难道手动模式下不能调整曝光补偿值吗?
  9. jdk32位安装包下载_神灯地图大数据采集破解版-神灯地图大数据采集软件下载 v4.6.0官方版-...
  10. WSL2安装和基本命令