随笔-2  评论-0  文章-1  trackbacks-0
Maven有三个相互独立的生命周期,分别是
  1. clean :对应maven-clean-plugin
    1. pre-clean
    2. clean
    3. post-clean
  2. default
    1. validate
    2. initialize
    3. generate-resources
    4. process-resources
    5. generate-sources
    6. process-sources
    7. compile
    8. process-classes
    9. generate-test-resources
    10. process-test-resources
    11. generate-test-sources
    12. process-test-sources
    13. test-compile
    14. process-test-classes
    15. test
    16. prepare-package
    17. package
    18. pre-integration-test
    19. integration-test
    20. post-integration-test
    21. verify
    22. install
    23. deploy
  3. site:对应maven-site-plugin
    1. pre-site
    2. site: goal is "site"
    3. post-site
    4. site-deploy: goal is "deploy"


posted on 2011-01-07 11:06 阿里-ninliu 阅读(209) 评论(0)  编辑  收藏 所属分类: Maven

只有注册用户登录后才能发表评论。


网站导航: