- Ant 1.7.1 or higher
- Java 1.5 or higher
- Sonar 2.8 or higher
Sonar 2.9 to Sonar 3.0
but without support of multi-modules
The way to configure the Sonar Ant task has changed between version 1.0 and version 1.1, so if you must use the Ant task version 1.0, please use this documentation page.
Older versions of Sonar are not supported.
- Download the Sonar Ant Task
Declare the Sonar Ant Task and define the configuration in a common Ant script file:
You are now ready to analyze a project with the Ant task