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

谁说胖子不能爱 提交于 2019-12-04 22:32:07

问题


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 

回答1:


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.




回答2:


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




回答3:


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




回答4:


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



来源:https://stackoverflow.com/questions/2651694/how-to-disable-auto-update-maven-dependencies-after-saving-a-pom-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!