标签:xmlns file 阿里云 aliyun ted reference 环境 local instance
# 项目环境搭建
## 1. Eclipse + Maven
中央库太慢所以使用 阿里云镜像:maven.aliyun.com
1. 配置Aliyun Maven 仓库
导入配置文件 settings.xml
Window – Preferences – Maven – User Settings - Global Settings 选择settings.xml
附:settings.xml
<?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"> <localRepository>F:/maven</localRepository> <pluginGroups> </pluginGroups> <proxies> </proxies> <servers> </servers> <mirrors> <mirror> <id>nexus</id> <name>Tedu Maven</name> <mirrorOf>*</mirrorOf> <url>http://maven.aliyun.com/nexus/content/groups/public</url> <!-- <url>http://maven.aliyun.com/content/groups/public</url> --> </mirror> </mirrors> <profiles> </profiles> <activeProfiles> </activeProfiles> </settings>
完成之后 F:/maven 路径下会生成maven库
2. 创建项目测试Maven
标签:xmlns file 阿里云 aliyun ted reference 环境 local instance
原文地址:http://www.cnblogs.com/tanrong/p/7411109.html