Since sonar 2.6, an ant task has been created by sonar. There is no more need to use maven.
configure the sonar database in the sonar task.
run the full-sonar task or execute step by step:
- ant download-cobertura download-sonar-ant-task
- ant clean-all run-install
- ant run-tests
- ant cobertura-report-xml
- ant sonar
Connect to http://localhost:9000
8 Comments
Julien NICOLAS
It's not working anymore...
Jacques Le Roux
It only worked shortly long ago IIRW, see INFRA-3590 - Getting issue details... STATUS
Julien NICOLAS
So maybe we can delete this page ?
Jacques Le Roux
No, I think this need to provide it, as we provide builds and demos. In the meantime Pierre's solution below would made it
Pierre Smits
I had it running for quite the long time as a service to the community.
Jacques Le Roux
Please where is the link?
Pierre Smits
Jacques,
You didn't read my posting properly. I mentioned 'had'. If I remember correctly about 2 years ago. Stopped doing that because I had to reallocate the resources to another project.
We (you and I) talked about it back then, and I got the feeling that I wouldn't get help from the privileged contributors to get it up and running for the project from within the infrastructure of the ASF. Not that I would be enabled by some of that same group to do it myself. So I parked it for a later stage.
Jacques Le Roux
OK I guess I then mentionned INFRA-3590 - Getting issue details... STATUS because I'd of course prefer to not depend on external ressources (for obvious reasons)
BTW then, why did you post your 1st comment? And if you don't mind I'd like to remove it and its sequels, to clarify the discussion!