Unzip the package in your drive (for example, d:\maven)
Add d:\maven\bin to $PATH
Control Panel → System → Advanced System Configuration → Environmental Variables → System Variable → Path → Edit → add ;D:\maven\bin to the end of the current value
Add $MAVEN_OPTS to Environmental Variables and set the values as -Xmx1g -Xms512m
Control Panel → System → Advanced System Configuration → Environmental Variables → User Variable → New → Variable Name: Maven_OPTS → Values: -Xmx1g -Xms512m
Install Netbeans (Use help→check for update to get the latest release)