Maven decided to change their start script in Windows from .bat to .cmd. Netbeans maven configuration still uses the old command line. Netbeans 8.0.2.1 will have a fix for that but to use maven 3.3.3 immediatetly i wrapped the command in a windows Batch-File. Create a simple file with any text editor and add the maven command to it:

Save the file as mvn.bat in the bin directory of your maven installation. Adjust the path in the file with the one pointing to your installation. “%*” parameter should redirect all input arguments.

maven_bat_wrapper_screenshot
Screenshot maven installation directory

Have fun

cheers luke

References: