首页 > 其他 > 详细

mvn setting 配置

时间:2014-12-15 15:35:20      阅读:523      评论:0      收藏:0      [点我收藏+]
<?xml version="1.0" encoding="UTF-8"?>


<settings xmlns="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">
  
	<mirrors>
    <mirror>
      <id>CN</id>
      <name>OSChina Central</name>                                                                                                                       
      <url>http://maven.oschina.net/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
  <profiles>
     
	<profile>
       <id>dev</id>
       <repositories>
			<repository>  
			  <id>public</id>  
			  <name>Maven unicom Mirror</name>  
			  <!-- <url>http://172.16.0.75:8081/nexus/content/groups/public/</url>  -->
			  <url>http://10.127.1.172:8081/artifactory/remote-repos</url>
			  <releases>  
				<enabled>true</enabled>  
			  </releases>  
			  <snapshots>  
				<enabled>true</enabled>  
			  </snapshots>  
			</repository> 
       </repositories>
    </profile>

  </profiles>

 <activeProfiles>
    <activeProfile>artifactory</activeProfile>
 </activeProfiles>

  <servers>
  <server>
	  <id>remote-repos</id>
	  <username>qibaichao</username>
	  <password>123456</password>
  </server>
  </servers>
</settings>


mvn setting 配置

原文:http://my.oschina.net/u/569297/blog/356222

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