There are a number of prerequisites needed to build CloudStack. This document assumes compilation on a Linux system that uses RPMs or DEBs for package management.
You will need, at a minimum, the following to compile CloudStack:
Maven (version 3)
Java (OpenJDK 1.6 or Java 7/OpenJDK 1.7)
Apache Web Services Common Utilities (ws-commons-util)