英文:
What's the difference of lifecycle and plugins of Mavin in IDEA?
问题
在IDEA的右侧,Maven窗口中有许多类似的按钮。其中,生命周期和插件都可以进行编译。它们之间有什么区别?与直接在终端中使用 mvn compile
命令有什么不同?
英文:
On the right side of IDEA, there are many similar buttons in the window of Maven. Among them, both lifecycle and plugins can compile. What is the difference between them? Is it different from using the mvn compile
in the terminal directly?
答案1
得分: 0
生命周期节点显示了适用于此项目的 Maven 生命周期阶段和目标。另一个节点显示了在项目中配置的每个插件具有的目标。这些目标可以是相同的目标,也可以是不与生命周期绑定的特定目标。
英文:
Lifecycle node shows the Maven lifecycle phases and goals that are available for this project. The other node shows the goals that ech plugin which is configured in project has. These could be same goals or specific goals which are not bound to lifecycle.
专注分享java语言的经验与见解,让所有开发者获益!
评论