分享一个快的飞起的maven的settings.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<localRepository>/home/yizhen/.m2/repository</localRepository><!--需要改成自己的maven的本地仓库地址--><mirrors><mirror><id>alimaven</id><name>aliyun maven</name><url>http://maven.aliyun.com/nexus/content/groups/public/</url><mirrorOf>central</mirrorOf></mirror></mirrors><profiles><profile><id>nexus</id> <repositories><repository><id>nexus</id><name>local private nexus</name><url>http://maven.oschina.net/content/groups/public/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository></repositories><pluginRepositories><pluginRepository><id>nexus</id><name>local private nexus</name><url>http://maven.oschina.net/content/groups/public/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></pluginRepository></pluginRepositories></profile></profiles>
</settings>
该文件的名称是settings.xml,把该文件放到~/.m2/文件夹下即可。
提供给想学习云计算的同学,欢迎收听https://www.zhihu.com/lives/1046567982750281728
分享一个快的飞起的maven的settings.xml文件相关推荐
- Maven 之 settings.xml 文件详解
文章目录 1 引言 2. settings.xml 元素详解 2.1 根元素settings概览 2.1.1 LocalRepository 2.1.2 InteractiveMode 2.1.3 U ...
- maven的settings.xml文件
这个配置文件包含三个部分 1.本地仓库配置 2.镜像仓库配置(华为.阿里) 3.配置jdk版本 <?xml version="1.0" encoding="UTF- ...
- Maven settings.xml 文件详解
概述 settings.xml 文件中的 settings 元素包含用于以各种方式配置 Maven 的元素(就像 pom.xml 文件一样),但不应捆绑到任何特定项目,或分发给受众.其中包括本地存储库 ...
- Maven的settings.xml配置详解
Maven的settings.xml配置详解 1 基本介绍 maven的两大配置文件:settings.xml和pom.xml.其中settings.xml是maven的全局配置文件,pom.xml则 ...
- Maven 阿里云 settings.xml文件配置
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://mav ...
- Maven中settings.xml的配置项说明
一.Maven的setting配置文件 和 在Eclipse中对Maven的正确配置. 1.Maven的配置文件(Maven的安装目录/conf/settings.xml ) 和 Maven仓库下(默 ...
- Maven的pom.xml文件详解------The Basics
转载自 Maven的pom.xml文件详解------The Basics Maven坐标 GroupId.artifactId和version构成了Maven的坐标(groupId和version ...
- Maven的pom.xml文件详解------Environment Settings
转载自 Maven的pom.xml文件详解------Environment Settings Issue Management 使用的缺陷跟踪系统(Bugzilla,TestTrack,Clear ...
- Maven的pom.xml文件详解------Build Settings
转载自 Maven的pom.xml文件详解------Build Settings 根据POM 4.0.0 XSD,build元素概念性的划分为两个部分:BaseBuild(包含poject bui ...
最新文章
- Dissecting BERT Part 1: The Encoder 解析BERT解码器(transformer)
- SpringBoot跨域
- Verilog testbench总结(二)
- numpy python2_python-numpy(2)
- java中字节_java中的变量各占得字节数
- python可以做什么系统-python能做哪方面的工作
- How to resolve empty table CRMATAB issue in ERP gt_crmtab[]
- CentOS离线安装gcc环境(附安装包+图文并茂)
- c语言如何输入矩阵_如何在 COMSOL 软件中调试外部材料
- 【Java】Java反射调用可变参数的方法
- 漫画:如何实现抢红包算法?
- android主题与风格入门
- css中用#id.class的形式定义样式,为什么这样用,不直接写成.class.代码如下:#skin_0.selected{}这种的...
- gbase 连接数据库
- 基于单片机的GPS开发 (four) GPS基础知识
- 第21章 分层架构软件测试
- SpringMVC -- Restful风格的API
- 【自用记录向】YOLOv5模型训练,按进度更新
- SAP-WEB-GUI无法上传excel问题
- 计算机显卡怎样安装方法,电脑装机小知识,新手如何正确安装好独立显卡