Skip to end of metadata
Go to start of metadata
NameSonar Ant Task
Latest version2.1 ( 3 May 2013 )
Requires Sonar version3.0 or higher ( check version compatibility )
Downloadhttp://repository.codehaus.org/org/codehaus/sonar-plugins/sonar-ant-task/2.1/sonar-ant-task-2.1.jar
LicenseGNU LGPL 3
DevelopersEvgeny Mandrikov, Simon Brandhof
Issue trackerhttp://jira.codehaus.org/browse/SONARPLUGINS/component/14635
Sourceshttps://github.com/SonarSource/sonar-ant-task

Features

The Sonar Ant Task allows to integrate Sonar into a build script for Apache Ant to analyze a project with Sonar.

Prerequisites

  • Ant 1.7.1 or higher
  • Java 1.5 or higher

Installation

Just download the Sonar Ant Task on your machine.

You are now ready to analyze a project with the Sonar Ant Task.

Change Log

Version 2.1 (6 issues)
Type Key Summary Priority
Bug SONARPLUGINS-2155 Only the first path of the 'binaries' property is taken into account by FindBugs Major
Bug SONARPLUGINS-2448 Folders with ending *.xml are not accessible for sonar.modules -> compatibility mode gets activated Major
Improvement SONARPLUGINS-2840 Reuse Ant logger level to configure sonar.verbose by default Major
Improvement SONARPLUGINS-2458 Fully remove the Ant compatibility mode Major
Improvement SONARPLUGINS-2818 Upgrade to latest version of Sonar Runner API Major
Bug SONARPLUGINS-2521 The property sonar.sources should not be mandatory Major

 

Version 2.0 (8 issues)
Type Key Summary Priority
Improvement SONARPLUGINS-1838 The Sonar ant task can't be executed if the Ant classloader contains some classes not compatible with Sonar Major
Improvement SONARPLUGINS-1853 Allow use of spaces and return carriages in sonar.modules properties Major
Improvement SONARPLUGINS-2162 Configure the location of working directory Major
Improvement SONARPLUGINS-2224 Improve multi-module support Major
Improvement SONARPLUGINS-2264 Change the way to configure Sonar Ant Task Major
Bug SONARPLUGINS-1552 Version is missing in component timeline for Ant modules Major
Bug SONARPLUGINS-1439 Running sonar for multiple projects at the same time gives Exception "Caused by: java.io.IOException: No space left on device"" Major
Improvement SONARPLUGINS-1454 Sonar Projects using Ant task do not have submodule hierarchy in dashboard Major

 

Version 1.4 (4 issues)
Type Key Summary Priority
Improvement SONARPLUGINS-1609 Log a meaningful message when a mandatory Ant Sonar property is missing Critical
Improvement SONARPLUGINS-1674 When the mandatory 'key' and/or 'version' properties of the Sonar Ant task are not define we get a NullPointerException instead of a meaningful message Major
Improvement SONARPLUGINS-1617 Support the properties sonar.showSql and sonar.showSqlResults Major
Improvement SONARPLUGINS-1468 Make the Sonar Ant task work with property "sonar.modules" containing absolute paths. Major

Labels
  • None