O'Reilly logo

Apache Maven 3 Cookbook by Srirangan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Importing a Maven project with Eclipse 3.7

In the previous recipe, Creating a Maven project with Eclipse 3.7, we created a project compatible with Eclipse and Apache Maven. We also created custom Maven build run configurations to execute lifecycle or other Maven plugin goals from within the IDE itself.

However, most of the time your Apache Maven project would exist on a shared filesystem or version control/code repository. This would be shared by your entire team and it is a best practice not to share IDE files on the code repository.

In such situations, you need to import your Apache Maven project into the Eclipse IDE. M2Eclipse allows you to do the same through an easy and intuitive wizard.

Getting ready

Firstly, you need to download and install ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required