There are a number of other ways to build and deploy Sakai using Maven:
Build and Deploy Sakai in Offline Mode
If your local repository contains all Sakai project dependencies, you can run Maven "offline" by adding the -o option:
mvn -o clean install sakai:deploy
Build and Deploy the Sakai "Framework"
You can build and deploy the Sakai framework by adding the -Pframework option:
mvn -Pframework clean install sakai:deploy
Build and Deploy Sakai "Mini"
You can build and deploy a minimal set of Sakai tools by adding the -Pmini option:
mvn -Pmini clean install sakai:deploy
Skip Unit Tests when Building and Deploying Sakai
There may be occasions when you want to build and deploy Sakai without executing the set of unit tests that accompany many of the Sakai modules. If so add -Dmaven.test.skip=true to the goals you issue:
mvn -Dmaven.test.skip=true clean install sakai:deploy