引用:http://blog.csdn.net/guowenyan001/article/details/22718179
-pl, --projects
Build specified reactor projects instead of all projects
-am, --also-make
If project list is specified, also build projects required by the list
-amd, --also-make-dependents
If project list is specified, also build projects that depend on projects on the list
单独构建模块 A,同时会构建 A 模块依赖的其他模块
$ mvn
install
-pl A -am
单独构建模块 A,同时构建依赖模块 A 的其他模块
$ mvn
install
-pl A -am -amd