缺少要求:更新Maven时嵌入式Maven Runtime Bundle

时间:2013-10-09 19:17:14

标签: eclipse maven m2eclipse

Maven项目在Eclipse Indigo下不起作用(除了一个Indigo实例外,我有很多Indigos和Maven可以在任何地方工作)。

如果创建新的快速启动maven项目,则POM文件会导致错误

Multiple annotations found at this line:
    - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (execution: default-resources, phase: process-resources)
    - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.4.3:testResources (execution: default-testResources, phase: process-test-
     resources)

这标志着

<packaging>jar</packaging>

没有修正建议。

如果尝试更新maven,则会发生以下错误:

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
  Missing requirement: Embedded Maven Runtime Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.maven.runtime 1.4.0.20130531-2315) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
    To: org.eclipse.m2e.maven.indexer [1.4.0.20130531-2315]
  Cannot satisfy dependency:
    From: Maven / Nexus Indexer Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.maven.indexer 1.4.0.20130531-2315)
    To: bundle org.eclipse.m2e.maven.runtime [1.4.0,1.5.0)

如何克服地狱?

0 个答案:

没有答案