为Maven配置数据仓库

1、确保正常安装Maven工具

2、打开文件夹"C:\Documents and Settings\Administrator\.m2"

3、编辑settings.xml

4、在"mirrors"标签下加入如下内容:

nexus-public-snapshots

public-snapshots

http://10.161.3.190:8081/nexus/content/groups/public-snapshots

nexus

*

http://10.161.3.190:8081/nexus/content/groups/public

 

你可能感兴趣的:(maven)