You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Short Instructions

  1. Download Maven 2
  2. Add the Maven 2 bin directory to the PATH variable.
  3. Download Netbeans.
  4. Install Netbeans
  5. Install the Maven Plugin in Netbeans at Tools > Plugins > Available Plugins.
  6. Checkout a project with Versioning > CVS > Checkout.

Long Instructions

Maven2

On Linux, an appropriate version of Maven 2 can be installed as follows.

wget http://www.lcsim.org/dist/maven2/2.0.9/apache-maven-2.0.9-bin.zip
unzip apache-maven-2.0.9-bin.zip

Now, the environment needs to be setup so Netbeans finds this external Maven version. The Maven bin directory must be added to the system path.

This will add the bin directory to the path on Linux using bash.

export PATH=/path/to/apache-maven-2.0.9:$PATH

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.

  • No labels