zoukankan      html  css  js  c++  java
  • maven 阿里云镜像加速配置

    记录阿里云提供的maven镜像地址,如下:

     <mirror>
            <id>nexus-aliyun</id>
            <mirrorOf>*</mirrorOf>
            <name>Nexus aliyun</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public</url>
        </mirror> 
    

    说明:

    下载maven资源非常快速,添加到idea或者eclipse 的maven环境配置的settings.xml的mirrors节点下。

    windows路径:

    C:UsersAdministrator.m2settings.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/XMLSchema-instance"
    	xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    	<pluginGroups></pluginGroups>
    	<proxies></proxies>
        <localRepository>D:.m2
    epository</localRepository>
    	<servers>
    	</servers>
    	
    	<mirrors>
    		<mirror>
    			<id>nexus-aliyun</id>
    			<mirrorOf>*</mirrorOf>
    			<name>Nexus aliyun</name>
    			<url>http://maven.aliyun.com/nexus/content/groups/public</url>
    		</mirror> 
    	</mirrors>
    	
    	<profiles>
    	</profiles>
    	
    	<activeProfiles>
    		<activeProfile>nexus</activeProfile>
    	</activeProfiles>
    </settings> 
    

    ————————————————
    版权声明:本文为CSDN博主「cfz77777」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/u013526791/java/article/details/79019061

  • 相关阅读:
    MySQL主从配置实现(同一台主机)
    MySQL主从配置实现
    FTP的安装配置使用
    NFS的安装配置使用
    Samba的安装配置使用
    Cacti的基本安装配置
    STL标准库-迭代器
    STL标准库-容器-unordered_set
    STL标准库-hash
    STL标准库-容器-rb_tree
  • 原文地址:https://www.cnblogs.com/fb010001/p/13044120.html
Copyright © 2011-2022 走看看