标签:com group class aliyun div efault tin .com epo
1. 在maven的settings.xml文件里的mirrors节点,添加如下子节点:
<mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror>
2. 或者直接在profiles->profile->repositories节点,添加如下子节点
<repository> <id>nexus-aliyun</id> <name>Nexus aliyun</name> <layout>default</layout> <url>http://maven.aliyun.com/nexus/content/groups/public</url> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </repository>
标签:com group class aliyun div efault tin .com epo
原文地址:http://www.cnblogs.com/rongfengliang/p/6049619.html