The command
mvn eclipse:m2eclipse
will create Eclipse's .classpath, .project and Java build path, ready for use direct with the M2Eclipse plugin. Any projects referenced in the pom.xml that are in the workspace will be set up as project references, otherwise references will be to JARs in your local Maven repository.
If you don't want to use M2Eclipse (though we highly recommend it) then you can use:
mvn eclipse:eclipse
