Eclipse has facet , which define the project type.
m2 plugin soppuse to support in creating the right eclipse project.
what i am trying to do is to create eclipse project from maven ear. the eclipse project need to be with ear facet and need to have generated application xml and all the jars under the ear library.
the eclipse project is created , but it dosnt packgae all the dependencies .
if you have ear pom that you success to create eclipse ear from it i will be happy to see.
Ah, re-reading your original post, I think I see. Your mvn ear command is not putting the dependencies as you'd expect. You need t make sure that you include the dependencies correctly in the pom, so something like: