IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes Difference in creating Eclipse projects Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Difference in creating Eclipse projects" Watch "Difference in creating Eclipse projects" New topic
Author

Difference in creating Eclipse projects

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 295
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

Joined: May 14, 2008
Posts: 4875

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.


JBoss In Action
 
IntelliJ Java IDE
 
subject: Difference in creating Eclipse projects
 
Threads others viewed
what's the difference between / and // in Xpath
PersonalJava and EmbeddedJava...
Lightweight and heavyweight containers
Web Clipping portlet and HTML portlet?
Programmer or Engineer? What's the difference?
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture