Download and install Sonar. Server must be up before executing the Maven plugin.
Run on your project root directory :
mvn sonar:sonar
For more details and advanced configuration, read the 2 minutes tutorial and the installation guide.