Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h2. Short Instructions

...



# [Download Maven

...

Long Instructions

Maven2

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

No Format
 2|http://www.lcsim.org/dist/maven2/2.0.9/apache-maven-2.0.9-bin.zip]
# Add the Maven 2 bin directory to the PATH variable.
# [Download Netbeans|http://www.netbeans.org/downloads/index.html].
# [Install Netbeans|http://www.netbeans.org/community/releases/65/install.html]
# Install the Maven Plugin in Netbeans at *Tools > Plugins > Available Plugins*.
# Checkout a project with *Versioning > CVS > Checkout*.

h2. Long Instructions

h3. Maven2

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

{noformat}
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
{noformat}

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.

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

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 [http://vlaurie.com/computers2/Articles/environment.htm|adding an environment variable].