首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

maven nexus 筹建私服

2012-08-17 
maven nexus 搭建私服参考:http://www.sonatype.com/books/nexus-book/reference/?关于nexus的安装 m2ecli

maven nexus 搭建私服

参考:http://www.sonatype.com/books/nexus-book/reference/

?

关于nexus的安装 m2eclipse 不做介绍 ?配置很简单 有一点需要注意就是修改settings.xml里面的内容 为一下内容 不需要 那些dtd头 因为dtd的问题 调了一下午?

?

<settings>  <mirrors>    <mirror>      <!--This sends everything else to /public -->      <id>nexus</id>      <mirrorOf>*</mirrorOf>      <url>http://localhost:8081/nexus/content/groups/public</url>    </mirror>  </mirrors>  <profiles>    <profile>      <id>nexus</id>      <!--Enable snapshots for the built in central repo to direct -->      <!--all requests to nexus via the mirror -->      <repositories>        <repository>          <id>central</id>          <url>http://central</url>          <releases><enabled>true</enabled></releases>          <snapshots><enabled>true</enabled></snapshots>        </repository>      </repositories>     <pluginRepositories>        <pluginRepository>          <id>central</id>          <url>http://central</url>          <releases><enabled>true</enabled></releases>          <snapshots><enabled>true</enabled></snapshots>        </pluginRepository>      </pluginRepositories>    </profile>  </profiles>  <activeProfiles>    <!--make the profile active all the time -->    <activeProfile>nexus</activeProfile>  </activeProfiles></settings>
?

热点排行