In NetBeans a Maven based project integrates seamlessly with the IDE. The actions for a project, like Build project and Test project, invoke Maven goals. To see which goals are used we can right-click on a project and selected Properties. Then we select Actions and we can see which Maven goals are executed for the different actions.
Besides seeing the goals we can add our own goals to be executed for a action!