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)
<issueManagement> <system>Trac</system> <url>http://trac_server/projects/project_name</url> </issueManagement>
- Specified in Sonar under the project settings.
- Username/password/component name should also be specified here.
- 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.