maven has its predefined structure of the project files and there is a simple, easy command to create it 🙂
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
and yeah… its from a tutorial… so the structure is ready… the pom.xml is created… but it has no eclipse .project file… ok i could have created the same thing in eclipse, with a maven plugin, which is actually installed on my eclipse… but as i told you before… its a tutorial… and importing to eclipse is easy… with the plugin…
Import… –> Maven –> Existing Maven Project
nuff said…