问题
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