Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Using Maven in your IDE

There are three ways to use Maven with your IDE:

  • Integrated into the project support
  • As an external tool
  • Using Maven to generate your IDE project settings

Support for IDE integration is provided by the MevenIDE project. Currently, they support project editing in NetBeans 4.0+ and Eclipse.

Using Maven as an external tool is usually quite simple, and allows you to run Maven goals from within your IDE. Specific instructions for setting up your IDE are listed here:

Maven also provides plugins for several IDEs that will generate project files from your Maven project descriptor. Please refer to the plugin documentation for your IDE: