开发者

How to disable auto "Update Maven Dependencies" after saving a pom.xml?

How to disable auto "Update Maven Dependencies" after saving a pom.xml in Eclipse IDE with m2eclipse Plugin?

16.04.10 11:09:40 开发者_开发问答MESZ: Refreshing [/project/pom.xml]
16.04.10 11:09:40 MESZ: Maven Builder: AUTO_BUILD 


Window -> Preferences -> Maven -> enable Offline option


You can't. But why would you even want to do that? Keeping your project build path in sync with the pom is a good thing.


You can edit "Goals to run when updating project configuration" in Window > Preferences > Maven. Default setting is "process-resources", try to remove it.


If you disable "process-resources" in a Spring application, you will not get any resource files such as log4j.xml or Spring configuration files copied to the

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜