Maven Learning 7 life cycle Management

Source: Internet
Author: User


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.