sonatype nexus 匿名用戶禁用後,不能直接訪問nexus。要配置一個用戶名才能訪問 url
<server>spa
<id>releases</id>server
<username>deployment</username>it
<password>password</password>test
</server>配置
<server>下載
<id>snapshots</id>word
<username>deployment</username>co
<password>password</password>deploy
</server>
<server>
<id>nexus</id>
<username>deployment</username>
<password>password</password>
</server>
<mirrors>
<mirror>
<id>nexus</id>
<!--此處配置全部的構建均從私有倉庫中下載 *表明全部,也能夠寫central -->
<mirrorOf>*</mirrorOf>
<name>test</name>
<url>http://wx.xxxx.com:8089/nexus/content/groups/public/</url>
</mirror>
</mirrors>