Please, provide an option to turn off Maven auto-synchronization
Hi,
Could you add an option to turn off Maven auto-synchronization ? At least for 2 reasons:
1. As soon as I change a POM file, project is re-synchronized, even if I have not finished my changes. While I am editing POM, focus is often lost, which makes edition difficult.
2. Maven import still erases some module settings (there was at least one JIRA about this on Diana which I can't find):
- packaging method of dependencies in web facets
- additional dependencies not declared in POM (e.g. : mock modules)
With Diana, I only reimported projects when POMs changed a lot. Then I had to re-configure IDEA modules.
Now, I can't work with Maia on some projects which require customization of settings.
Thanks
Sylvain
请先登录再写评论。
"As soon as I change a POM file, project is re-synchronized, even if I have not finished my changes. While I am editing POM, focus is often lost, which makes edition difficult."
I am quite happy with new maven integration but this one is very annoying.
Is there a jira issue for this?
Agreed on both accounts.
I could not find a jira report, so I opened http://www.jetbrains.net/jira/browse/IDEA-23884 It's been on my radar for the past couple of days to open one. So I took a minute now and did it. Please vote for it and add comments as appropriate.
I think the potential solution, rather than an option to turn off maven auto-synchronization, would simply be for the synchronization to not occur until the file is saved. A setting to set a delay as to how long after saving a POM before auto-synchronization occurs would be awesome.
Sure that launching synchronization on Save action would be more appropriate for this issue, but option to turn off maven auto-sync targets more general problems: in some cases I want to have full control on my module settings.
Thanks for created JIRA, I've created another one for requested option : http://www.jetbrains.net/jira/browse/IDEA-23885
Sylvain
For some reason my ID doesn't let me comment on this Jira issue. I want to add that on a very large multi module project, this is a real time killer. The act of scanning for files to index takes minutes (totally blocking as far as I can tell). Then the indexing starts, which is in the background, but it takes so long on large projects that I can hardly do anything meaningful for quite some time. I would like to see an option in the maven tab which provides a simple toggle to turn this off for extended periods of time while I edit poms throughout my project. I like this feature when I am doing normal project coding on a smallish project, but when I start updating dependencies or editing poms, it is really painful on large projects.
P.S. If an admin can look at why my ID does not allow making comments, that would be awesome.
Hello Chris,
JIRA is currently read-only for everyone.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"