引用: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