maven 配置下载jar、源码等先走私服,找不到再走阿里云镜像

如果配置了不起作用请重启Idea

<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd"><localRepository>C:/repository</localRepository><servers><!-- 私服用户名密码 注意id与下面 profile.repository.id 对应 --><server><id>lakernexus</id><username>laker</username><password>laker123</password></server></servers><mirrors>    <mirror><id>aliyunmaven</id><mirrorOf>central</mirrorOf> <!-- 只代理central中央仓库镜像--><name>阿里云公共仓库</name><url>https://maven.aliyun.com/repository/public</url></mirror></mirrors><profiles><profile><!-- 定义profile注意下面激活的时候使用--><id>lakerProfile</id><repositories><repository><!-- server.id对应--><id>lakernexus</id><url>https://lakernexus.com/repository/public/</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository></repositories><pluginRepositories><pluginRepository><id>lakernexus</id><url>https://lakernexus.com/repository/public/</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></pluginRepository></pluginRepositories></profile></profiles><activeProfiles><!-- 定义profile注意下面激活的时候使用--><activeProfile>lakerProfile</activeProfile></activeProfiles>
</settings>

maven 配置下载jar、源码等先走私服,找不到再走阿里云镜像相关推荐

  1. 下载Android源码流程(完整版)

      要在Linux环境下操作,要在Linux环境下操作,要在Linux环境下操作~~ 不要想在Windows环境下操作,因为会有各种问题.Windows环境的童鞋又不想装双系统的可以跟着下面的操作,L ...

  2. IDEA中maven配置解决jar包下载报错,亲测好用

    折磨了我很久的世纪难题,在网上找了大堆方法都不能完美解决,最后东拼西凑,maven配置实现光速构建.我使用的idea版本是2021.2.3,JDK是1.8.0_201,maven版本是3.6.3. 因 ...

  3. Idea maven无法下载jar问题解决

    Idea maven无法下载jar问题 maven项目自动加载jar包借鉴了他人的博客 1.maven项目自动加载jar包 所需工具如下: Intellij IDEA 13.1; 下载地址:请自行百度 ...

  4. android源码下载过程的一些注意事项,windows下载android源码

    网上目前有很多下载android源码的方法,在linux下基本上用 repo 脚本,先repo init 然后在 repo sync一下 最后提取的时候的 使用 repo sync -l 一下. 所有 ...

  5. 下载AOSP源码编译、调试、刷机

    一.准备工作 系统最好是Linux或者mac OS(本文基于Ubuntu). Ubuntu设置永不休眠,在setting中搜索power.blank-screen选择never. 一块大一点儿的硬盘, ...

  6. Windows下PCL1.9.1配置(编译源码)

    PCL1.9.1并没有支持vs2015版本的exe版本,然后需要下载PCL的源码重新自己CMake编译出vs2015版本的 编译的目的: 1.得到支持vs2015的版本的PCL1.9.1 前期准备 1 ...

  7. 【Android WebSocket】Android 端 WebSocket 基本用法 ( 下载 Java-WebSocket源码 | 导入 Java-WebSocket-1.5.2 工程作为依赖 )

    文章目录 一.下载 Java-WebSocket 源码 二.Android Studio 工程导入 Java-WebSocket 源码 使用 https://github.com/TooTallNat ...

  8. 【Android 安装包优化】p7zip 源码交叉编译 Android 平台可执行程序 ( 下载 p7zip 源码 | 交叉编译 Android 中使用 7z 可执行程序 )

    文章目录 一.下载 p7zip 源码 二.交叉编译 Android 中使用 7z 可执行程序 三.参考资料 一.下载 p7zip 源码 下载 7zip 源码 , 下载页面 https://source ...

  9. 【Android 安全】DEX 加密 ( 多 DEX 加载 | 65535 方法数限制和 MultiDex 配置 | PathClassLoader 类加载源码分析 | DexPathList )

    文章目录 一.65535 方法数限制和 MultiDex 配置 二.多 DEX 加载引入 三.PathClassLoader 类加载源码分析 四.BaseDexClassLoader 类加载源码分析 ...

最新文章

  1. scp 命令 路径_基于SSH的文件传输:scp命令
  2. java removeto_java.util.LinkedList.remove(int index)方法实例
  3. 2.利用计算机进行信息加工的一般过程是:,[信息技术教案]《计算机信息加工的一般过程》教案...
  4. Centos调整时间时区
  5. 第41讲:Scrapy框架的介绍
  6. Spring Ioc 源码分析(一)- XML 解析
  7. python 加快计算速度_python怎么提高计算速度
  8. java的printf语法_Java中printf的用法总结
  9. 图片流_干货来袭!web前端开发工程师必看之如何使用CSS3实现瀑布流效果?
  10. 《Spring》(十一) ---- 基于注解的依赖注入
  11. Logisim下载,安装与使用
  12. [Mac]图像处理JPEG工具箱jpegtbx_1.4的MATLAB编译及使用
  13. button3 电脑上mouse,鼠标侧键设置工具(X-Mouse Button Control)
  14. HTTP:超文本传输协议
  15. C++ MFC 学习笔记+小型通讯录系统实现
  16. C++之char , signed char , unsigned char(转)
  17. jetson-nano环境查询
  18. Linux网络服务之----DHCP篇
  19. 逃避不一定躲得过,面对不一定最难过
  20. 利用c语言中printf输出图形

热门文章

  1. 智能外呼机器人的前世今生
  2. 用Python端对端数据分析识别机器人“僵尸粉”
  3. 数据采集系统下位机与上位机代码
  4. 用友U8不得不说的问题
  5. java斐波那契优化_用HashMap优化斐波那契数列 java算法
  6. 1.Understanding the Rasa NLU Pipeline
  7. 微信聊天api接口调用
  8. linux怎么进入bios看raid,教程:BIOS中如何打开RAID模式
  9. “魔盗”窃密木马(FakeCDR)研究
  10. Ubuntu 22.04换清华源