手记

【maven】生命周期与阶段

一、一级标题
abcd
二、二级标题
sjsjshsh
三、三级标题
hijk
  • http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
    生命周期与阶段
    1. clean生命周期
      pre-clean
      clean
      post-clean
    2. default生命周期
      validate
      initialize
      generate-sources
      process-sources
      generate-resources
      process-resources->resources:resources
      compile->compiler:compile
      process-classes
      generate-test-sources
      process-test-sources
      generate-test-resources
      process-test-resources->resources:testResources
      test-compile->compiler:testCompile
      process-test-classes
      test->surefire:test
      prepare-package
      package->jar:jar or war:war
      pre-integration-test
      integration-test
      post-integration-test
      verify
      install->install:install
      deploy->deploy:deploy
    3. site生命周期
      pre-site
      site
      post-site
      site-deploy
0人推荐
随时随地看视频
慕课网APP