See http://docs.codehaus.org/display/SONAR/Android+Plugin
Contributions are welcome. Join the effort !
Extension plugin for Android Lint in Sonar.
The idea is to visualize Android Lint errors directly in Sonar, in the same way as findbugs / PMD / checkstyle errors are reported.
- Install maven
- Clone the repository
- Compile and test the code, then generate the jar: -> run "mvn clean install" command in your terminal
- copy the jar (in the new generated target folder) in <path_to_your_sonar_install>/extensions/plugins folder,
- restart sonar
- On a Maven project
- mvn sonar:sonar -Dsonar.profile="Android Lint" in your project
- On another project using sonar-runner
- Add this property to your sonar-project.properties -> sonar.profile=Android Lint