maven2
ccssddnnbbookkee
这个作者很懒,什么都没留下…
展开
-
Maven - Build Life Cycle
What is Build Lifecycle?A Build Lifecycle is a well defined sequence of phases which define the order in which the goals are to be executed. Here phase represents a stage in life cycle. As an example,转载 2015-05-18 12:56:10 · 815 阅读 · 0 评论 -
Maven中的几个重要概念(二):lifecycle, phase and goal
当我们在使用Maven做一些工作,如打包,编译,运行测试等等任务时,我们已经使用到了Maven中的几个重要概念: lifecycle, phase and goal。 例如,如果我们使用ant打包,我们需要清晰的在脚本中告诉ant: 源代码在哪,打包的目标文件类型如jar,目标文件夹在哪。首先要编译,然后运行测试,最后打包。 而Maven为了在最大程度上简化我们的工作,因而定义了lifecy转载 2015-05-18 15:57:12 · 1188 阅读 · 0 评论