zoukankan      html  css  js  c++  java
  • 提高依赖下载速度

    配置方法

    找到maven的安装目录,conf文件夹下的setting.xml文件
    打开setting.xml文件,找到mirrors节点添加阿里镜像库地址:
     
        <!-- 阿里云仓库 -->  
        <mirror>  
            <id>alimaven</id>  
            <mirrorOf>central</mirrorOf>  
            <name>aliyun maven</name>  
            <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>  
        </mirror>  
      
        <!-- 中央仓库1 -->  
        <mirror>  
            <id>repo1</id>  
            <mirrorOf>central</mirrorOf>  
            <name>Human Readable Name for this Mirror.</name>  
            <url>http://repo1.maven.org/maven2/</url>  
        </mirror>  
      
        <!-- 中央仓库2 -->  
        <mirror>  
            <id>repo2</id>  
            <mirrorOf>central</mirrorOf>  
            <name>Human Readable Name for this Mirror.</name>  
            <url>http://repo2.maven.org/maven2/</url>  
        </mirror> 
         
        <mirror>
            <id>maven.net.cn</id>
            <name>oneof the central mirrors in china</name>
            <url>http://maven.net.cn/content/groups/public/</url>
            <mirrorOf>central</mirrorOf>
        </mirror>
  • 相关阅读:
    代理支持
    CGI
    SSI(服务器端嵌入)
    SSL/TLS 配置
    JSPs
    类加载机制
    JDBC 数据源
    安全管理
    Realm 配置
    Js将序列化成Json格式后日期(毫秒数)转成日期格式
  • 原文地址:https://www.cnblogs.com/eason-d/p/7492138.html
Copyright © 2011-2022 走看看