I have created a Maven
project and I want to add all Maven
dependencies in build path of the project in Eclipse
. When I go to Java Bui
If Maven->Update Project doesn't work for you? These are the steps I religiously follow. Remove the project from eclipse (do not delete it from workspace) Close Eclipse go to command line and run these commands.
mvn eclipse:clean
mvn eclipse:eclipse -Dwtpversion=2.0
Open Eclipse import existing Maven project. You will see the maven dependency in our project.
Hope this works.