sajith4u / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

allow to configure lint via lint.xml config file #413

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
allow to configure the parameter --config to point to a xml configuration file 
for lint

Original issue reported on code.google.com by thomas.e...@gmail.com on 8 Aug 2013 at 9:56

GoogleCodeExporter commented 9 years ago
That should already be possible with 
android.lint.config - see 
https://github.com/jayway/maven-android-plugin/blob/master/src/main/java/com/jay
way/maven/plugins/android/standalonemojos/LintMojo.java
 /**
     * Use the given configuration file to determine whether issues are enabled or disabled. Defaults is "null" so no 
     * config file will be used. To use the commonly used lint.xml in the project root set the parameter to 
     * "${project.basedir}/lint.xml".
     * 
     * @parameter expression="${android.lint.config}"
     * @see com.jayway.maven.plugins.android.configuration.Lint#config
     */
    private String lintConfig;

Original comment by mosa...@gmail.com on 18 Sep 2013 at 4:23