O'Reilly logo

Apache Maven Cookbook by Raghuram Bharathan

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 NetBeans to run Maven goals

Let us now see how we can run the Maven goals in NetBeans.

How to do it...

To run Maven goals using the NetBeans IDE, implement the following steps:

  1. Open the simple project in the NetBeans IDE.
  2. Right-click on the project.
  3. View the available options:
    How to do it...

How it works...

Unlike Eclipse, NetBeans has a tighter Maven integration. This means each of the menu options (Build, Clean and Build, Clean, and so on) call the corresponding Maven command to do so.

For instance, clicking on the Clean option will result in the following:

How it works...

As can ...

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