We download the Android-maven project on SVN, and the possible configuration error is as follows:
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)
Search a lot of solutions, think this solution is the most reliable, as follows:
First windows-preference-maven-lifecycle mapping in Eclipse, click "Open Workspace ... mappings metdata" and edit the following:
<?xml version= "1.0" encoding= "UTF-8"?>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<goals>
<goal>compile</goal>
<goal>generate-sources</goal>
<goal>proguard</goal>
<goal>process-classes</goal>
</goals>
<versionrange>[3.5,) </versionRange>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
GroupId and Artifactid content is pom.xml error plug-in name, and that group of goals content, is in the error message in a paragraph of text, such as Phase:compile, then add a <goal>compile> </goal>, if there are errors like phase:generate-sources, add a <goal> and then save in the default workspace .../.metadata/.plugins/ Org.eclipse.m2e.core/lifecycle-mapping-metadata.xml Last Click "Reload Workspaces Lifecycle Mappings Metdata"
Configuration issues with Android maven