下载地址
http://apache.etoak.com/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.zip
1:maven 配置环境变量
M2_HOME :E:\apache-maven-3.0.5
path : %MAVEN%;%M2_HOME%\bin
2:MyEclipse 配置
Window—>Preferences—>Myeclipse—>Maven4MyEclipse—>Installations
把maven地址加上
Window—>Preferences—>Myeclipse—>Maven4MyEclipse—>User Settings
User Setings
选择本地仓库的setting.xml文件
Local 。。。
选择本地仓库的文件如E:\m2\repository
3:Maven build
tomcat配置
Goals:tomcat:run
jetty配置
Goals:jetty:run
maven仓库