Maven installation guide

If you are going to use Maven2 use the Maven2 installation guide instead.

Installing Maven differs very little what ever system you are running. Basically only the installation paths are different.

Step 1: Download

First you need to download the maven binaries (I assume you don't wish to build your own maven, do you?) from Maven website.

For Windows user the Windows binary (don't use the installer, or use if you like don't blame me if something doesn't go as it should :) and for *nix users the *nix binary.

Note, that the latest 1.1 beta versions does not work with Jetspeed.

Step 2: unpack

The actual installation is easy. Just unzip/untar the package to where ever you wish. Just remember the developer rule of thumb to use only paths without spaces in them :D (or you'll be in trouble again).

Good places are c:\maven and /opt/maven.

Step 3: configure

Only configuration that really is needed is the MAVEN_HOME environmental variable. This should point to the Maven installation location.

Another configuration which will ease-up life drastically, is to add the bin folder under Maven installation to the PATH enviromental variable. Then you shouldn't have to use the full path to maven executable when using it.

Done, and done..

Maven installation guide

If you are going to use Maven2 use the Maven2 installation guide instead.

Installing Maven differs very little what ever system you are running. Basically only the installation paths are different.

Step 1: Download

First you need to download the maven binaries (I assume you don't wish to build your own maven, do you?) from Maven website.

For Windows user the Windows binary (don't use the installer, or use if you like don't blame me if something doesn't go as it should :) and for *nix users the *nix binary.

Note, that the latest 1.1 beta versions does not work with Jetspeed.

Step 2: unpack

The actual installation is easy. Just unzip/untar the package to where ever you wish. Just remember the developer rule of thumb to use only paths without spaces in them :D (or you'll be in trouble again).

Good places are c:\maven and /opt/maven.

Step 3: configure

Only configuration that really is needed is the MAVEN_HOME environmental variable. This should point to the Maven installation location.

Another configuration which will ease-up life drastically, is to add the bin folder under Maven installation to the PATH enviromental variable. Then you shouldn't have to use the full path to maven executable when using it.

Verify this by running command

maven -version

in the console/prompt. If a maven version info appears you are goo to go.

Done, and done..

  Page Info My Prefs Log in
This page (revision-5) last changed on 18:24 25-Mar-2017 by Mikko Wuokko.
 

Referenced by
...nobody

JSPWiki v2.4.102
[RSS]