Sakai uses Apache's Maven build tool to compile and deploy its project modules. There are three steps in the process: clean, install and deploy. These steps, otherwise known as Maven goals, perform the following actions:
clean flushes the target for each Sakai project module prior to building
install installs the output of each Sakai project module into the repository
sakai:deploy deploys Sakai project modules from the repository to the target $CATALINA_HOME/webapps folder.
For more information on Maven visit http://maven.apache.org/.
Download and Install Maven
For Sakai 2.5 we have upgraded our build process from Maven 1.0 to Maven 2.0.6+.
If you have not installed Maven, download the latest Maven 2.0 build from http://maven.apache.org/download.html and extract the distribution archive into your installation directory of choice, e.g. /opt/maven-2.0.10.
To confirm that you can start Maven, run the command mvn --version. This should start maven and cause it to report its version. At this point your environment is prepared to build and deploy the Sakai source code.
mvn --version