Description / Features
Place the JAR file of the plugin in /extensions/plugins of your Sonar installation. Restart sonar.
Install and enable the Trac XML-RPC plugin on your Trac instance. You will need to give an anonymous or user account 'XML_RPC' and 'TICKET_VIEW' privileges.
The Trac instance URL can be specified in two places:
- Your project's pom.xml file under the 'issue managment' section; for example: (note that the username/password/component has to be specified in Sonar project settings, the plugin does not currently have the ability to read the username/password/component from the pom.xml)
- Specified in Sonar under the project settings.
- Username/password/component name should also be specified here.
Note: component name is completely optional, if you don't specify one you will get the number of tickets over the whole instance. There is also no validation of the component name, so if you specify a non-existent component name no tickets will be found.
To kick-off the analysis, run mvn sonar:sonar
- While the Trac instance URL can be picked up from your project's pom.xml file the username/password/component have to be specified within the project settings in Sonar.
Release 0.2 (2 issues)
|SONARPLUGINS-885||Change plugin key to comply with standards||Closed||Fixed|
|SONARPLUGINS-654||maven plugin fails to upload data if trac and jira plugin are both present||Closed||Fixed|
Release 0.1 (4 issues)
|SONARPLUGINS-643||Due to changes made in SONARPLUGINS-642 the navigation links are now wrong.||Closed||Fixed|
|SONARPLUGINS-642||Trac plugin not supporting anonymous user access||Closed||Fixed|
|SONARPLUGINS-622||Trac plugin does not build due to missing license file.||Closed||Fixed|
|SONARPLUGINS-619||Add Sonar Trac plugin.||Closed||Fixed|