How to disable m2e build in Eclipse Indigo?

前端 未结 4 904
轻奢々
轻奢々 2021-01-25 06:03

I\'m currently using Eclipse Indigo in an Android project that I\'m working on and am running into problems with the built-in Maven (m2e) builder. I use the ADT plug-in to buil

相关标签:
4条回答
  • 2021-01-25 06:37

    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.

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

    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/

    0 讨论(0)
  • 2021-01-25 06:43

    M2E official wiki documents this issue

    I think you can use lifecycle-mapping plugin from m2e to silently ignore the execution for these plugins

    0 讨论(0)
  • 2021-01-25 06:46

    I am using MacOSX with Eclipse 4.3 (Krepler). What I originally tried was to install Maven via the terminal using Brew. It installed correctly Maven 3.0.4. However when I tried to import any ready maven projects (File > Import > Maven) it would display the following two errors:

    No marketplace entries found to handle Execution default-testResources

    What I did is go to Help > Eclipse Marketplace and type "Maven" in the search bar and install the first default Maven client for Eclipse. Everything worked for me from this point.

    Hope it helps to you too.

    0 讨论(0)
  • 2021-01-25 06:48

    I went into my install directory for Eclipse and manually removed all the references to m2e. There were multiples in the "Plugin" directory and the "features" directory. After that my android project was back to behaving like normal and I could use mvn from the command line to build.

    0 讨论(0)
提交回复
热议问题