Monday, April 7, 2008

Maven2 for Eclipse

Plug-in: http://m2eclipse.codehaus.org/

This plug-in for Eclipse can help you handle Maven2 projects. I'm new to it and I don't know what it can do.


Maven2 has a plug-in that creates Eclipse projects for your. Using a command prompt, go to the folder that contains your pom and execute "mvn eclipse:eclipse".
Note that the project structure of Maven is not straight compatible to the Eclipse project structure. If you have to checkout a project with one or more Eclipse sub-projects, for each Eclipse sub-project you should import it as an "Existing Projects into Workspace" using the Package Explorer.

No comments: