O'Reilly logo

NetBeans IDE 8 Cookbook by Rhawi Dantas, David Salter

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

Using Maven projects

Given the open nature of the Java platform, it is quite common for Java developers to work on projects that were not created within NetBeans, or that do not employ the NetBeans project structure.

One of the most common Java build and management tool is Maven (see the Creating a Maven application recipe for more information on Maven), and as such a growing number of projects are created using it. These include both single module projects (where a single .jar file is generated) and complex multimodule projects (which may include .war, .ear, .jar, and more!).

This recipe shows how a Maven project can be loaded within NetBeans and subsequently managed via the NetBeans user interface.

Getting ready

To complete this recipe, you need ...

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