maven setting.xml

Posted xiaolei2017

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了maven setting.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">

  <localRepository>D:
epository</localRepository>

  <pluginGroups>
  </pluginGroups>

 
  <proxies>
  </proxies>


  <servers>
      <server>
        <id>releases</id>
        <username>admin</username>
        <password>admin123</password>
      </server>
      
      <server>
        <id>snapshots</id>
        <username>admin</username>
        <password>admin123</password>
    </server>     
  </servers>


  <mirrors>
        <mirror>
        <id>nexus</id>
        <mirrorOf>*</mirrorOf>
        <url>http://192.168.0.221:8081/nexus/content/groups/public</url>
      </mirror>
  </mirrors>
  

  <profiles>
  </profiles>

</settings>

 

以上是关于maven setting.xml的主要内容,如果未能解决你的问题,请参考以下文章

如何更改maven的setting文件目录

maven学习setting.xml配置文件详解

Maven之setting.xml配置文件详解

Maven

maven setting.xml

maven setting.xml