简体   繁体   English

Intellij:在 pom 更改时安装 maven

[英]Intellij: maven install on pom changes

Can Intellij IDE automatically do a mvn install on pom changes? Intellij IDE 可以在 pom 更改时自动执行mvn install吗?

I have a multi-module maven project, and currently, when I make changes to the pom file, I have to do mvn install manually.我有一个多模块 maven 项目,目前,当我对 pom 文件进行更改时,我必须手动执行mvn install

I know that I can execute Lifecycle commands automatically by setting the following options, but these are not what I wanted.我知道我可以通过设置以下选项来自动执行 Lifecycle 命令,但这些不是我想要的。
生命周期钩子

There is a tool called 'filewatcher'.有一个名为“filewatcher”的工具。 Find more info in jetbrains docs: https://www.jetbrains.com/help/idea/using-file-watchers.html?section=Windows%20or%20Linux在 jetbrains 文档中查找更多信息: https ://www.jetbrains.com/help/idea/using-file-watchers.html ? section = Windows%20or%20Linux

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM