Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference in creating Eclipse projects

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a web project specified in a maven pom.

There are two ways to make it eclipse friendly:
1. Run mvn eclipse:eclipse
2. Import it into eclipse with m2e installed and it "automatically" converts.

What's the difference? What's the best practise?

Thanks.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They do about the same thing. I have seen elsewhere that #2 is preferred. I also saw elsewhere that #1 was out of favor - I had expected it to be marked as deprecated when I went to the docs, but it wasn't. So I guess the real answer is: which are you more comfortable with? Do that one. Me, I would use #2 mainly because I would not think of working with a Maven project in Eclipse without m2e.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic