Maven installation (2.6)
The Apache Maven project management framework provides Sakai with "a set of build standards, artifact repository model and a software engine that manages and describes projects" (Better Builds, p. 22). As part of the installation process you will use Maven as a build tool in order to compile, test and deploy Sakai to a servlet container such as Apache Tomcat.
Maven 2.2.1 is the recommended version for performing Sakai 2.7 builds; Maven 2.0.6 is the minimum version.
Maven 3.0 is currently NOT compatible with Sakai 2.6.
You can download Maven at
http://maven.apache.org/download.html
Extract the distribution archive into your installation directory of choice, e.g. /opt/maven/apache-maven-2.0.8
. Confirm that you have installed the correct version of Maven and can start it by issuing mvn --version
from the terminal. At this point your environment is prepared to build and deploy the Sakai source code.
mvn --version
Maven version: 2.0.8 Java version: 1.5.0_18 OS name: "mac os x" version: "10.4.11" arch: "i386" Family: "unix"