Eclipse Code Recommenders Source中的pom.xml出错

时间:2014-03-25 17:42:40

标签: xml eclipse maven eclipse-plugin

我在几乎每个pom.xml文件的标记中都收到此错误消息。

Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-
 plugin:0.20.0:build-qualifier (execution: default-build-qualifier, phase: validate)
- Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-compiler-
 plugin:0.20.0:compile (execution: default-compile, phase: compile)
- maven-enforcer-plugin (goal "enforce") is ignored by m2e.
- Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-
 plugin:0.20.0:validate-version (execution: default-validate-version, phase: validate)
- Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-
 plugin:0.20.0:validate-id (execution: default-validate-id, phase: validate)

我使用Maven /现有的maven项目将源代码导入eclipse。 我还将目标平台设置为eclipse keplar。 但是这个错误仍然存​​在。 我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

对于记录:此问题也已发布在recommenders-dev邮件列表中。

参见[1]以获得解释。您还可以使用Eclipse Oomph在IDE中设置代码推荐器。这个线程[2]中描述了这一点。

[1] https://dev.eclipse.org/mhonarc/lists/recommenders-dev/msg01690.html

[2] https://dev.eclipse.org/mhonarc/lists/recommenders-dev/msg01683.html