idea 配置 maven 和 镜像

https://pan.baidu.com/s/1ZdTTxHzo9urnmwVel5ePKA
提取码:9v4e

文件的使用路径

参考文章 1 https://blog.csdn.net/qq_32588349/article/details/51461182

2 https://jingyan.baidu.com/article/a3a3f811cd5f0b8da2eb8abf.html

1解压到到自己的制定文件夹下面 

2 配置settings.xml

3 文件路径

镜像

<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>
</mirrors> 

猜你喜欢

转载自www.cnblogs.com/hy162050430/p/9856668.html
今日推荐