“lifecycle”和”plugins”在IDEA中的区别是什么?

huangapple 未分类评论45阅读模式
英文:

What's the difference of lifecycle and plugins of Mavin in IDEA?

问题

在IDEA的右侧,Maven窗口中有许多类似的按钮。其中,生命周期和插件都可以进行编译。它们之间有什么区别?与直接在终端中使用 mvn compile 命令有什么不同?

“lifecycle”和”plugins”在IDEA中的区别是什么?

英文:

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?

“lifecycle”和”plugins”在IDEA中的区别是什么?

答案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.

huangapple
  • 本文由 发表于 2020年7月23日 17:04:06
  • 转载请务必保留本文链接:https://java.coder-hub.com/63050664.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定