title: Using maven-clean-plugin with m2e
body: <p>I use here Eclipse with m2e plugin. If I do a project clean, it doesn't do anything.</p>
  
  <p>On my experiments, I see as if m2e simply weren't wired into the eclipse project cleaning option.</p>
  
  <p>I've tried to set up in <code>lifecycle-mapping-metadata.xml</code>, but it didn't work. If I understand this well, maybe a clean can't be set up here, because cleaning is not considered as part of a project lifecycle from the viewpoint of the eclipse.</p>
  
  <p>So, is there any way to do a simple <code>mvn clean</code> from eclipse on a project cleanup?</p>
  
  <p>(The ideal solution didn't require to start a new jvm, and all run inside of the eclipse process.)</p>