I am facing annotation/persistence errors in a project and the persistence library throws a
NullPointerException when trying to resolve the entitie
You can debug any Maven goal in NetBeans going to /Project Properties/Actions/, select the goal you wan to debug, in the last option Set Properties choose Add, and then select Debug Maven build.
/Project Properties/Actions/