sonatype nexus 匿名用户禁用后

sonatype nexus 匿名用户禁用后,不能直接访问nexus。要配置一个用户名才能访问  

<server>

  <id>releases</id>

<username>deployment</username>

<password>password</password>

</server>

<server>

<id>snapshots</id>

<username>deployment</username>

<password>password</password>

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


你可能感兴趣的:(sonatype nexus 匿名用户禁用后)