Ande Turner
Ande Turner

Reputation: 7212

Eclipse: Dependency Management

What are some methods of utilising Eclipse for Dependency Management?

Upvotes: 7

Views: 13282

Answers (3)

Dave
Dave

Reputation: 806

Another option is ivy. Ivy has eclipse integration as well.

A comparison of maven and ivy can be found here: http://ant.apache.org/ivy/m2comparison.html

Upvotes: 1

Ken Liu
Ken Liu

Reputation: 22914

A simpler way to go is the Maven Eclipse plugin (as opposed to a Maven plugin for Eclipse). It's simply a maven plugin that generates the .project and .classpath file based on the contents of the pom, you just run mvn eclipse:eclipse and you're done. It uses a classpath variable in Eclipse to locate the local maven repo.

I personally prefer this approach most of the time because you have more control over when the maven plugin updates are done. It's also one less Eclipse plugin to deal with. The GUI features of the m2eclipse plugin in the latest version is pretty nice, though.

There's also an alternative to the m2eclipse plugin called Q4E, now called Eclipse IAM.

Upvotes: 4

polarbear
polarbear

Reputation: 12975

I really like the The Maven Integration for Eclipse (m2eclipse, Eclipse m2e). I use it purely for the dependency management feature. It's great not having to go out and download a bunch of new jars new each time I set up a project.

Upvotes: 14

Related Questions