7 Replies Last post: Oct 5, 2012 2:47 AM by Chris Bamford  
Chris Bamford Newbie 3 posts since
Jan 21, 2011
Currently Being Moderated

Jan 21, 2011 8:17 PM

"Processing Maven resources" needlessly slows me down

Hi

 

Whenever I run a test or a Java application in my IDE, I am always forced to wait 20 or 30 seconds for "Processing Maven resources...", even when nothing has changed in my project.  In times of intense dev/test activity this is a real drag on my time!

Does anyone know what is going on and how I can stop it?  I have tried toggling Maven on-/off-line (under Maven Projects), but it seems to make no difference.

 

Thanks for any pointers  :-)

 

- Chris

 

PS I am running IDEA 10 (see graphic) on Mac OS X 10.6.6

about-idea.png

Gustavo Hexsel Newbie 9 posts since
Feb 5, 2004
Currently Being Moderated
Jan 21, 2011 9:16 PM in response to: Chris Bamford
Re: "Processing Maven resources" needlessly slows me down

When you import a maven process, you can choose what maven phase will get run before build, you can probably set it to nothing.  The default is process-resources, which is causing your slowdown.

 

I really wish maven had a flag to not copy the files if they are not newer...

 

(well, there is http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#overwrite, but it doesn't seem to work for me)

Andrew Perepelytsya Novice 216 posts since
Mar 16, 2003
Currently Being Moderated
Jan 21, 2011 11:16 PM in response to: Gustavo Hexsel
Re: "Processing Maven resources" needlessly slows me down

The point probably is this is a performance regression in 102.149 - working on a pure junit test is a royal pain now. IDEA didn't need this 30 secs delays before.

Anton Makeev JetBrains 1,247 posts since
Dec 19, 2006
Currently Being Moderated
Jan 31, 2011 3:20 PM in response to: Chris Bamford
Re: "Processing Maven resources" needlessly slows me down

Could you please create a YouTrack issue and attach a CPU snapshot?

 

Thanks,

Anton Makeev

Alexey Java Newbie 45 posts since
May 18, 2011
Currently Being Moderated
Apr 12, 2012 10:31 PM in response to: Chris Bamford
Re: "Processing Maven resources" needlessly slows me down

I guess this is solved in IDEA 11.1.2 http://youtrack.jetbrains.com/issue/IDEA-84484 ?

Rob Park Newbie 1 posts since
Oct 4, 2012
Currently Being Moderated
Oct 4, 2012 9:52 PM in response to: Alexey Java
Re: "Processing Maven resources" needlessly slows me down

I'm still seeing this in IU-117.912 and I also am not sure where I can rachet this down for maven?

//rob

More Like This

  • Retrieving data ...