...
It can be placed in the RC file for your shell so that this is setup when you login.On Windows, refer to these instructions for adding an environment variable. The PATH variable should be modified to include $M2_HOME/bin
Info | ||
---|---|---|
| ||
On Windows, the Maven 2 bin directory should be added to the Path. Open the Control Panel > System menu. Go to the Advanced tab and click on the Environment Variables button. Under System Variables, select Path and click Edit. Hit the End key to go to the end of the text box. Now add the Maven 2 bin directory to the Path. The easier way to do this is by navigating to the bin directory in Explorer and copying the full path from the address bar into the Path. Make sure to put a semi-colon in front of the new path item. |
Maven 2 Plugin
Install the Maven Plugin in Netbeans at Tools > Plugins > Available Plugins.
...