当前位置: 首页 > news >正文

maven及阿里云镜像

直接上本人settings.xml配置文件

 

 

<?xml version="1.0" encoding="UTF-8"?>
<!--
 | 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
 | |
 |-->
<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">
          
  <!--  Change in below line  -->
  <localRepository>E:\ApacheMaven353\repository</localRepository>
  <interactiveMode>true</interactiveMode>
  <offline>false</offline>
  <pluginGroups>
    <!-- pluginGroup
     | Specifies a further group identifier to use for plugin lookup.
    <pluginGroup>com.your.plugins</pluginGroup>
    -->
  </pluginGroups>
  <proxies>
    <!--
    <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>
    <!--
    <server>
      <id>deploymentRepo</id>
      <username>crunchify</username>
      <password>crunchify</password>
    </server>
     -->
  </servers>
  <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>
  </profiles>
</settings>

 

转载于:https://www.cnblogs.com/EzioSyh/p/7541444.html

相关文章:

  • 【批处理学习笔记】第七课:简单的批处理命令(6)
  • fdisk非交互自动对磁盘分区格式化
  • UWP开发砸手机系列(二)—— “讲述人”识别自定义控件Command
  • Windows容器网络
  • 阿里云 云监控 安装和启动
  • diff命令
  • 42 Bing Search Engine Hacks
  • 配置新服务器 的一些 依赖库 php mysql nginx
  • 队列的基本概念
  • Dynamics 365/CRM 保存之后触发onchange
  • 设计模式---享元模式(DesignPattern_Flyweight)
  • 计算机宏
  • ES内部分片处理机制——Segment
  • 30 天精通 RxJS(18): Observable Operators - switchMap, mergeMap, concatMap
  • python数据结构之 set
  • JS 中的深拷贝与浅拷贝
  • 【JavaScript】通过闭包创建具有私有属性的实例对象
  • 2017年终总结、随想
  • 2017前端实习生面试总结
  • 2019.2.20 c++ 知识梳理
  • ES6系列(二)变量的解构赋值
  • Java Agent 学习笔记
  • javascript从右向左截取指定位数字符的3种方法
  • js ES6 求数组的交集,并集,还有差集
  • JS笔记四:作用域、变量(函数)提升
  • leetcode378. Kth Smallest Element in a Sorted Matrix
  • mysql 数据库四种事务隔离级别
  • Redis提升并发能力 | 从0开始构建SpringCloud微服务(2)
  • SQLServer插入数据
  • 买一台 iPhone X,还是创建一家未来的独角兽?
  • 前端自动化解决方案
  • 如何利用MongoDB打造TOP榜小程序
  • 实战:基于Spring Boot快速开发RESTful风格API接口
  • 使用Gradle第一次构建Java程序
  • 视频flv转mp4最快的几种方法(就是不用格式工厂)
  • HanLP分词命名实体提取详解
  • Java性能优化之JVM GC(垃圾回收机制)
  • LevelDB 入门 —— 全面了解 LevelDB 的功能特性
  • Nginx惊现漏洞 百万网站面临“拖库”风险
  • ## 临床数据 两两比较 加显著性boxplot加显著性
  • #pragma预处理命令
  • $.extend({},旧的,新的);合并对象,后面的覆盖前面的
  • ()、[]、{}、(())、[[]]等各种括号的使用
  • (13):Silverlight 2 数据与通信之WebRequest
  • (C#)获取字符编码的类
  • (poj1.2.1)1970(筛选法模拟)
  • (TipsTricks)用客户端模板精简JavaScript代码
  • (阿里巴巴 dubbo,有数据库,可执行 )dubbo zookeeper spring demo
  • (六)vue-router+UI组件库
  • (论文阅读11/100)Fast R-CNN
  • (算法)Game
  • (转)setTimeout 和 setInterval 的区别
  • (转)Sql Server 保留几位小数的两种做法
  • **Java有哪些悲观锁的实现_乐观锁、悲观锁、Redis分布式锁和Zookeeper分布式锁的实现以及流程原理...
  • .net framwork4.6操作MySQL报错Character set ‘utf8mb3‘ is not supported 解决方法