Accepted answer

if you want to use maven dependencies then you need to be using maven for your build. if you are using maven for your build then the m2e eclipse plugin is a great way to integrate mvn and eclipse.

i don't believe there is any shortcut. afaik, trying to do this without using maven as your build system will just cause you a lot of pain.


the easiest way to add dependencies to eclipse from maven:

  • add dependency to pom.xml
  • execute mvn eclipse:eclipse
  • refresh project on eclipse

then the dependencies will be on the project.

Related Query

More Query from same tag