Maven M2eclipse无法检测流程类阶段的工具目标
我正在配置Java项目的pom.xml文件,以便在构建期间使用emma maven插件进行代码覆盖。我使用EclipseJuno作为IDE,它使用M2eclipse运行Maven。我以与上建议的完全相同的方式配置插件:Maven M2eclipse无法检测流程类阶段的工具目标,maven,m2eclipse,m2e,emma,Maven,M2eclipse,M2e,Emma,我正在配置Java项目的pom.xml文件,以便在构建期间使用emma maven插件进行代码覆盖。我使用EclipseJuno作为IDE,它使用M2eclipse运行Maven。我以与上建议的完全相同的方式配置插件: org.codehaus.mojo 但如果可能的话,我更愿意避免在我的中使用标记。除非我真的不得不这么做。还请注意,尽管有错误消息,但我的项目构建良好,运行EMMA和所有其他插件,就像我运行Maven构建时一样正常 处理此错误的最佳方法是什么 <plugin>
org.codehaus.mojo
但如果可能的话,我更愿意避免在我的
中使用
标记。除非我真的不得不这么做。还请注意,尽管有错误消息,但我的项目构建良好,运行EMMA和所有其他插件,就像我运行Maven构建时一样正常
处理此错误的最佳方法是什么
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.0-alpha-3</version>
<inherited>true</inherited>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>instrument</goal>
</goals>
</execution>
</executions>
</plugin>