Reputation: 24679
I have been working with Netbeans quite a while and I am now moving to Eclipse.
Basically I have a Maven project that I would like to work on using Eclipse.
What I am not sure about is whether I need to point my Eclipse workspace to the directory where my project super pom is located or whether the Eclipse workspace needs to point to a clean/empty directory.
My question is basically:
Can anyone please advise?
Regards,
Upvotes: 1
Views: 4090
Reputation: 12609
It's a matter of personal preference whether you have the source files in the workspace folder or not. Eclipse can import your project from any folder. Personnaly, I keep my projects folder separated from the workspace folder.
Upvotes: 1
Reputation: 32407
If you have the m2e or m2eclipse plugin installed, you can just do "Import..." then "Existing Maven Projects" and point it at the super-pom. It'll import all the modules it finds, as separate projects.
Upvotes: 1
Reputation: 47
you can use the maven eclipse target to generate project files so you can move them directly in the eclipse workspace:
mvn eclipse:eclipse
Upvotes: 1