Life cycle Interpretation: http://blog.csdn.net/woshixuye/article/details/17325067
1. Clean Pre-clean performs some work that needs to be done before clean removes all previous build-generated files post-clean Perform some work that needs to be done immediately after Clean 2, compile validate generate-sources process-sources generate-resources process-resources Copy and process the resource files to the target directory, ready to package. compile The source code of the compiled project. process-classes generate-test-sources process-test-sources generate-test-resources Process-test-resources Copy and process the resource file to the target test directory. test-compile Compile the test source code. process-test-classes Test runs the tests using the appropriate unit test framework. These test codes are not packaged or deployed. the prepare-package package accepts compiled code that is packaged into a published format, such as a JAR. pre-integration-test integration-test post-integration-test verify Install Install the package to the local warehouse for other projects to rely on. Deploy copies the final package to a remote repository for other developers to share with the project. 3. Site Pre-site performs some work that needs to be done before the site document is generated to build the Web document for the project Post-site Perform some work that needs to be done after the site document is built, and prepare for deployment Site-deploy Deploy the generated site documents to a specific server
Reference
"1" http://blog.csdn.net/zsq0511/article/details/8609184
Maven Learning 7 life cycle Management