Priority
Major
Type
Bug 
State
Fixed 
Assignee
Anton Makeev 
Subsystem
Maven Integration 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7123
Fixed in build
7589
Severity
0
  • Submitted by   Matthew Flower
    2 years ago (20 Aug 2007 21:46)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:51)
  • Jira: IDEA-40514
    (history, comments)

IDEA-40514

Maven refresh loses module settings for run configurations

3
Added by <no user>
15 Sep 2009
web-facet-before-and-after.jpg   (207 KB)
Added by <no user>
15 Sep 2009
run-conf-before-and-after.jpg   (144 KB)

When I do a "Maven refresh" by clicking the "Synchronize" button in the maven tool window, the "Use classpath and JDK of module" setting of each of my run configuration becomes blank. I end up needing to reset all of them in order to be able to run them.

Environment: Mac OS X

Issue was resolved
Comments (12)
 
History (1)
 
Links
 
Christian Nelson
  Christian Nelson
31 Oct 2007 03:06
(2 years ago)
#permalink
Which web/ejb modules are to be deployed (and the format: .war or exploded) is also lost on synchronize, making synchronization pretty disruptive.
Anton Makeev
  Anton Makeev
04 Dec 2007 14:47
(2 years ago)
#permalink
Matthew, does the problem still remains? I tried to reproduce it but I couldn't. That kind of run configuration did you use?
Christian Nelson
  Christian Nelson
04 Dec 2007 19:33
(2 years ago)
#permalink
With build 7584, both "run configuration" settings and web facet settings (is this IDEA-14566?) are lost on maven synchronize. I've attached two images:

  • Run Configuration settings before and after maven synchronization (run-conf-before-and-after.jpg)
  • Web Fact settings before and after maven synchronization (web-facet-before-and-after.jpg)

The changed settings are highlighted.

Maven support is configured to create regular idea modules.
Anton Makeev
  Anton Makeev
05 Dec 2007 12:14
(2 years ago)
#permalink
Ok, thanks. The fix will be available after 7.0.2 release.
Frédéric Donckels
  Frédéric Donckels
05 Dec 2007 12:33
(2 years ago)
#permalink
Thanks!

I'm watching this issue and this is really painful (I don't restart IntelliJ very often but I use the maven synchonize quite often)

To add an extra stuff to check:
the JavaEE settings are also lost (I manually add an application.xml and a jboss.xml because it looks like the maven settings are not handled, and after synchronization, this is lost from the facet)
Anton Makeev
  Anton Makeev
05 Dec 2007 15:43
(2 years ago)
#permalink
Fix will be available right AFTER 7.0.2
Matthew Flower
  Matthew Flower
07 Dec 2007 23:55
(2 years ago)
#permalink
Sorry I missed the conversation (vacation). I can confirm that it is still broken in 7584, and I look forward to the upcoming fix.

You may also want to check that your fix will prevent the Spring facet from losing its filesets. Those are also lost with each refresh.
Frédéric Donckels
  Frédéric Donckels
19 Dec 2007 12:18
(2 years ago)
#permalink
I don't understand the status of this issue:
Fix Version/s: Selena 7.0.3 First EAP
But, it says also:
Fixed in build: 7,589
which is not the case
Anton Makeev
  Anton Makeev
19 Dec 2007 12:23
(2 years ago)
#permalink
The fix will be available in upcoming 7.0.3 eap.
Moshe Bergman
  Moshe Bergman
26 Dec 2007 12:29
(2 years ago)
#permalink
I am using 7613 and the issue is still not fixed.

(Java EE settings are lost and so are the run settings)
Anton Makeev
  Anton Makeev
26 Dec 2007 14:35
(2 years ago)
#permalink
You should reimport your project with 'regular modules' option.
The option 'temporary modules' is deprecated and will be removed in the next eap.
Moshe Bergman
  Moshe Bergman
27 Dec 2007 17:44
(2 years ago)
#permalink
Wow. Thanks. I can confirm that it works