码迷,mamicode.com
首页 > 其他好文 > 详细

maven的配置

时间:2016-04-01 20:14:01      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:

<settings xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>d:\maven\repo</localRepository>
<usePluginRegistry/>

<servers>
<server>
<id>bbtree-snapshots</id>
<username>bbtree</username>
<password>bbtree123456</password>
</server>

<server>
<id>bbtree-releases</id>
<username>bbtree</username>
<password>bbtree123456</password>
</server>
<server>
<id>3rd-party</id>
<username>bbtree</username>
<password>bbtree123456</password>
</server>
</servers>

<mirrors>
<mirror>
<id>Hyww Maven</id>
<name>all repository mirror</name>
<mirrorOf>*</mirrorOf>
<url>http://10.0.0.230:8081/nexus/content/groups/public</url>
</mirror>
</mirrors>

<profiles>
<profile>
<id>Hyww Maven</id>
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
<!-- <updatePolicy>always</updatePolicy> -->
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
<!-- <updatePolicy>always</updatePolicy> -->
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>

<activeProfiles>
<activeProfile>Hyww Maven</activeProfile>
</activeProfiles>

</settings>

 

maven的配置

标签:

原文地址:http://www.cnblogs.com/oymx/p/5345878.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!