• maven设置本地仓库地址和设置国内镜像


    <?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">
       <!-- 设置本地仓库的地址 -->
      <localRepository>D:/ruanjian/cangku</localRepository>
     
      <pluginGroups>
       
      </pluginGroups>
    
    
      <proxies>
      
      </proxies>
    
      
      <servers>
       
      </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>
  • 相关阅读:
    深入理解多态..............................
    走过路过 不要错过..
    进军C#..
    员工打卡....
    MySQL
    MySQL
    MySQL
    MySQL
    MySQL
    MySQL
  • 原文地址:https://www.cnblogs.com/suiyisuixing/p/7833299.html
Copyright © 2020-2023  润新知