I use Spring with eclipselink. Eclipselink requires static weaving for entity classes(to support lazy load) when running outside of EE container. I use maven plugin to perform static weaving of entity classes. The main problem is that idea overwrites instrumented classes in target directory when running project in debug, so lazy load will not work. In JPA facet i did not found 'Perform static weaving' for eclipselink provider :) So is there any way to workaround this problem(disabling make on run is not an option:) )?