Older versions of Android Maven Plugin might not work with latest SDK. For example support for SDK 22 was added in version 3.6.0. Check changelog.
3.6.0
The plugin has been updated to work with the SDK release 22.0. 21.1 works on the CI server. It might or might not work for older versions.
You don't need to configure ANDROID_HOME
inside pom.xml, my working configuration looks like this:
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.8.2</version>
<configuration>
<sdk>
<platform>19</platform>
</sdk>
</configuration>
</plugin>
Configure ANDROID_HOME
properly, for me this points to
.../adt-bundle-linux-x86_64-20131030/sdk/
Make sure it is properly configured, before invoking maven. For example simply run echo $ANDROID_HOME