有用的Maven命令:
1. 查看完整的pom文件
进入pom文件所在的目录,然后使用如下命令:mvn help:effective-pom
2. 跳过 test phase 的命令
mvn -Dmaven.test.skip=true package
Must read for maven study
Download and install
http://maven.apache.org/download.html
Configuring Maven
http://maven.apache.org/guides/mini/guide-configuring-maven.html
Maven Getting Started Guide
http://maven.apache.org/guides/getting-started/index.html
Introduction to the Build Lifecycle
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
Introduction to the Dependency Mechanism
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html