Skip to content

jinkerry/sonar-android

 
 

Repository files navigation

sonar-android-lint-plugin

Build status

Build Status

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.

I - Compiling and Installing the plugin:

  • 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

II - Running an analyse:

  1. On a Maven project
  • mvn sonar:sonar -Dsonar.profile="Android Lint" in your project
  1. On another project using sonar-runner
  • Add this property to your sonar-project.properties -> sonar.profile=Android Lint

About

Extension plugin for Android Lint in Sonar

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.3%
  • Shell 0.7%