title: Error in maven pom xml file: Building Android project
body: <p>I am getting the error in plugin tag in pom xml file. The error is on plugin tag, before groupId. </p>
  
  <p><strong>Error</strong>:- </p>
  
  <pre><code>Plugin execution not covered by lifecycle configuration:com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:consume-aar (execution: default-consume-aar, phase: compile)
  </code></pre>
  
  <p>Any one knows how to resolve this problem. Below mentioned is the pom.xml file contents</p>
  
  <p>pom.xml file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
    &lt;groupId&gt;com.simpligility.android&lt;/groupId&gt;
    &lt;artifactId&gt;helloflashlight&lt;/artifactId&gt;
    &lt;version&gt;1.0.0&lt;/version&gt;
    &lt;packaging&gt;apk&lt;/packaging&gt;
  
    &lt;name&gt;HelloFlashlight&lt;/name&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.google.android&lt;/groupId&gt;
        &lt;artifactId&gt;android&lt;/artifactId&gt;
        &lt;version&gt;4.1.1.4&lt;/version&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  
    &lt;build&gt;
      &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
      &lt;finalName&gt;${project.artifactId}&lt;/finalName&gt;
      &lt;pluginManagement&gt;
        &lt;plugins&gt;
          &lt;plugin&gt;
            &lt;groupId&gt;com.jayway.maven.plugins.android.generation2&lt;/groupId&gt;
            &lt;artifactId&gt;android-maven-plugin&lt;/artifactId&gt;
            &lt;version&gt;3.8.2&lt;/version&gt;
            &lt;extensions&gt;true&lt;/extensions&gt;
          &lt;/plugin&gt;
        &lt;/plugins&gt;
      &lt;/pluginManagement&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;com.jayway.maven.plugins.android.generation2&lt;/groupId&gt;
          &lt;artifactId&gt;android-maven-plugin&lt;/artifactId&gt;
          &lt;configuration&gt;
            &lt;sdk&gt;
                          &lt;!-- platform as api level (api level 16 = platform 4.1)--&gt;
              &lt;platform&gt;16&lt;/platform&gt;
            &lt;/sdk&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  
  &lt;/project&gt;
  </code></pre>