nexus镜像&idea中配置


1、nexus信息

url:http://10.9.11.156:8081/ admin admin123

2、idea设置 

3、settings.xml文件

"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">                           <id>base-3rdPart</id>             admin</username>             admin123</password>         </server>                    <id>release</id>           admin</username>           admin123</password>         </server>                      <id>snapshot</id>           admin</username>           admin123</password>         </server>        </servers>                             <id>Nexus</id>             Nexus Public Mirror</name>             http://10.9.11.156:8081/repository/maven-public/</url>             central</mirrorOf>         </mirror>                      <id>alimaven</id>             central</mirrorOf>             aliyun maven</name>             http://maven.aliyun.com/nexus/content/repositories/central/</url>         </mirror>                      <id>repo1</id>             central</mirrorOf>             Human Readable Name for this Mirror.</name>             http://repo1.maven.org/maven2/</url>         </mirror>                      <id>repo2</id>             central</mirrorOf>             Human Readable Name for this Mirror.</name>             http://repo2.maven.org/maven2/</url>         </mirror>     </mirrors> </settings>

相关