title: create eclipse groovy-java project with maven
body: <p>I have a Java-Groovy Eclipse project that I build with Maven. I have added the Maven Groovy plugin to the pom.xml such that I can build/test the Java and Groovy sources on the command-line using Maven.</p>
  
  <p>I would like to have some way to automatically generate the Eclipse <code>.project</code> and <code>.classpath</code> files from my pom.xml. If I run <code>mvn eclipse:eclipse</code> it seems to assume that it's a Java project, so there's no way to (for example) run the tests in <code>src/main/groovy</code> from within Eclipse.</p>
  
  <p>I'm using the STS Eclipse distribution, which includes support for Groovy/Grails. All I'm missing is a way to automatically create the appropriate <code>.classpath</code> and <code>.project</code> files.</p>
  
  <p>Thanks!</p>
  
  <p>P.S. I know IntelliJ is better, but I don't have a license</p>