Installing and Configuring Maven - Windows

The Apache Maven build environment is a scriptable tool that is used in the building of Indivo. Download the latest copy of Maven here:

The file is named maven-2.0.4-bin.zip or later.

Extract the downloaded Maven zip file to the root of the C: drive, this will create a maven-2.0.4 folder.

Repeat the steps for adjusting the System Path Variable as was done for the [Installing and Configuring Java - Windows], except in this case append a semi-colon and the location of the maven\bin directory as shown in this example as C:\maven-2.0.4\bin



Open a new command window (the changes to the Path variable will not take effect in command windows opened previously) just as you had done to verify the correct operation of the Java Development Kit in the previous step. At the command prompt type:

You should see the response as indicated:



IMPORTANT: In order for our integration test module to run, the Maven repository must not be in a location that contains a space character in the path. Unfortunately, the default location on Windows is in your "C:\Documents and Settings\your username" directory. You can correct this by taking the following steps:

  From the Windows “Start” button on the menu, select the “Run…” menu item. Into the dialog box, enter the command cmd and press the “Ok” button. This will open a command window with a shell prompt  Type   Type   Type   Type. This will open a new document in Notepad and show you a warning "Cannot find the settings.xml file. Do you want to create a new file?". Select "Yes".  Enter the following code into the document:   Save the file and close out of Notepad 