Recommended ways of Importing a maven project to IDE ?

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2010-06-11T14:45:40Z Indexed on 2010/06/11 15:12 UTC
Read the original article Hit count: 178

Filed under:
|

Many IDEs supports to import maven projects directly, but maven has a maven-eclipse-plugin, when you run :

mvn eclipse:eclipse

It will generate eclipse project settings ,then you can import as generic eclipse project.

Which one is better?

I prefer the first one, as my IDE is eclipse 3.5 shiped with WTP 3.1 and m2eclipse, I don't know if maven-eclipse-plugin support WTP 3.1 project settings ? If I don't import correct project settings, I don't think eclipse will recognize my project,when I deploy a web application, it ususally can't find webroot folder.

© Stack Overflow or respective owner

Related posts about java

Related posts about maven-2