Mar 062010
 

Q I cloned a Maven repository from github, How do I open this in Eclipse?
A Issue a mvn eclipse:eclipse command in the cloned project root (where the pom.xml resides), which creates the default eclipses directories/files. This project can then be opened in Eclipse. Note, as the .pom file changes (by other developers) you may need to regenerate the Eclipse project using this command and refresh in Eclipse.

    Alternatively, if you have the Maven plugin installed in Eclipse you can then do File | Import | Maven | Existing Maven Projects and point to the directory with the pom.xml.

    Sorry, the comment form is closed at this time.