插件执行不被生命周期配置错误所覆盖 [英] Plugin execution not covered by lifecycle configuration error

查看:337
本文介绍了插件执行不被生命周期配置错误所覆盖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个错误最近在我的eclipse android maven项目中出现了,我不知道为什么。

你可以看看我的POM和screenShot,告诉我我要去哪里请错了谢谢

This error has come up recently in my eclipse android maven project, and I don't know why.
Can you please have a look at my POM and screenShot, and tell me where I am going wrong please. Thanks

这是我的pom



here is my pom

<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.blueMonkeyTech.joggerMotivator</groupId>
<artifactId>joggerMotivator</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>apk</packaging>
<name>joggerMotivator</name>
<dependencies>
    <dependency>
        <groupId>com.google.android</groupId>
        <artifactId>android</artifactId>
        <version>2.3.3</version>
    </dependency>
</dependencies>



<build>
    <finalName>${project.artifactId}</finalName>

    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>2.1.2</version>
            <executions>
                <execution>
                    <id>attach-sources</id>
                    <phase>verify</phase>
                    <goals>
                        <goal>jar-no-fork</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>2.3.2</version>
            <configuration>
                <source>1.6</source>
                <target>1.6</target>
            </configuration>
        </plugin>

    </plugins>


</build>

推荐答案

打开您的POM,然后单击生存周期配置未涵盖的插件执行错误。这将为您提供发现新的m2e连接器的选项。

Open your POM and click on the "Plugin execution not covered by lifecycle configuration" error. This will give you the option to Discover new m2e connectors.

选择此项,您应该会自动提示您下载并安装Android Connector。

Select this and you should be automatically prompted to download and install the Android Connector.

安装此操作可以解决您的问题。您应该可以卸载旧的0.2.4 m2eclipse-android集成,还有利于新的0.3.0 m2e-android版本。

Installing this should resolve your problems. You should probably uninstall the old 0.2.4 m2eclipse-android-integration as well in favour of the new 0.3.0 m2e-android version.

请查看新网站更多信息:

Please see the new site for more information:

http://rgladwell.github.com/m2e -android /

这篇关于插件执行不被生命周期配置错误所覆盖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆