On 07/12/2012 08:15 AM, Patrik Ã…kerfeldt wrote:
For some reason the android-lint report is never created for my android maven builds. In the pre steps I generate the lint-results.xml file, and I have verified that it exists and contains right information. Then, the build step defines the pom and the maven target (which currently is clean cobertura:cobertura deploy but I've tried other goals like just clean compile). Then in post step I choose to publish the lint result, specifying the lint-results.xml file. The build is successful but there is no references to lint reports in the console.
Yeah, you're right. I added the Maven job type to the plugin, but it won't work unless you execute some Maven goal like "android-lint" or "check" -- but since I guess these don't really exist for Android, it can't be done?
I don't really know anything about Maven, so I'm going to remove this from the plugin, unless somebody can tell me which goal(s) should trigger the plugin.
Regards, Chris