首页 > 其他 > 详细

maven 本地 使用私服 配置

时间:2015-05-06 17:12:19      阅读:218      评论:0      收藏:0      [点我收藏+]
1 <mirrors>
2      <mirror>
3        <id>nexus</id>
4        <mirrorOf>*</mirrorOf>
5        <url>http://106.186.119.85:8081/nexus/content/groups/public/</url>
6      </mirror>
7 </mirrors>
 <profiles>
    

    <profile>
                    <id>nexus</id>
                    <repositories>
                        <repository>
                          <id>central</id>
                          <name>http://central</name>
                          <url>http://106.186.119.85:8081/nexus/content/groups/public/</url>
                          <releases><enabled>true</enabled></releases>
                          <snapshots><enabled>true></enabled></snapshots>
                        </repository>
                     </repositories>
                     <pluginRepositories>
                        <pluginRepository>
                            <id>central</id>
                            <name>http://central</name>
                            <url>http://106.186.119.85:8081/nexus/content/groups/public/</url>
                            <releases><enabled>true</enabled></releases>
                            <snapshots><enabled>true></enabled></snapshots>
                       </pluginRepository>
                     </pluginRepositories>
                </profile>

    
    <profile>
 <activeProfiles>
    <activeProfile>nexus</activeProfile>
  </activeProfiles>

 

maven 本地 使用私服 配置

原文:http://www.cnblogs.com/MDK-L/p/4482061.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!