jayway/maven-android-plugin — pull request #168 by stephanenicolas (2013-01-03 10:56:02+00:00)
Title: Added lint support via command line

Hi,

here is a pull request for maven-android-plugin that adds [lint](http://tools.android.com/tips/lint) support to maven builds.

It supports almost all command line options and can be configured in the standard mojo way :

```xml

true
com.jayway.maven.plugins.android.generation2
android-maven-plugin
${android-maven-plugin.version}

lint

lint

install

${project.basedir}/AndroidManifest.xml
${project.basedir}/assets
${project.basedir}/res
${project.basedir}/src/main/native

7

true

true
true
false
${project.basedir}/lint-result.xml

```

I am really sorry as I couldn't manage to configure eclipse to fit your coding convention. I disabled checkstyle in my pom.xml (but didn't commit it). The pull request works but you will have to re-format the code to match the plugin coding convention. Again, really sorry for that, I am a newbie with checkstyle and couldn't make it working on the project.

Hope this helps. Personnaly, it will allow to move forward to a sonar lint plugin for android.