1. Maven命令详解
请参考链接:
http://maven.apache.org/plugins/index.html
http://maven.apache.org/guides/introduction/introduction-to-archetypes.html
1.1. 使用Maven创建java web应用
1. 创建mvn工程
mvn archetype:generate -DgroupId={project-packaging} -DartifactId={project-name} -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false
2. 支持eclipse
mvn eclipse:eclipse -Dwtpversion=2.0
如果没有-Dwtpversion=2.0,则只是创建出eclipse下的java application,而不是java web application
2. 使用Nexus搭建Maven仓库
参照http://www.netingcn.com/nexus-maven.html
参照http://juvenshun.iteye.com/blog/349534
3. android与maven
参考http://blog.csdn.net/shuangyidehudie/article/details/14229665