title: Eclipse and Maven via command line
body: <p>I can create a simple Maven application in the Eclipse IDE (version 3.71) by skipping archetype selection that contains folders (<strong>Edit 2</strong> as well as other folders):</p>
  
  <pre><code>src/main/resources
  src/test/resources
  </code></pre>
  
  <p>These folders are missing if I use the command line. I have been using the maven guide to create a maven project for my eclipse IDE using the command line as specified on the <a href="http://maven.apache.org/guides/mini/guide-ide-eclipse.html" rel="nofollow noreferrer">Maven site</a></p>
  
  <pre><code>mvn archetype:generate -DgroupId=guide.ide.eclipse -DartifactId=guide-ide-eclipse
  </code></pre>
  
  <p>How do I mimic Eclipse's behaviour via the command line? I have tried to find the correct archetypeID and add the arguments to no success. </p>
  
  <p><strong>Edit1</strong></p>
  
  <p>The resulting maven project is contained in a git repository so I can import the project as detailed in <a href="https://stackoverflow.com/questions/4869815/importing-a-maven-project-into-eclipse-from-git/7269917#comment15380158_7269917">this question</a></p>