To answer my own question: use Netbeans plugin here:
http://mevenide.codehaus.org/m2-site/index.html. Then just open the project in netbeans. Plugin lets you run maven from within Netbeans.
Another option is to build/run from within your IDE without resorting to maven. Also better to type in the code yourself anyways to make the ideas stick better in your brain.