1

在 maven 2 的 cobertura 插件中,所有目标都是相互排斥的吗?如..我想要的是应该有一个检查以及应该有报告生成,当我在我的构建中使用cobertura目标时,检查没有完成..当我使用检查目标时,没有生成报告,我不得不同时使用这两个目标来获得我想要的东西,但是它会多次运行测试..这就是我正在做的事情

org.codehaus.mojo cobertura-maven-plugin 93 88 html 验证 cobertura 检查

还是我做错了什么?

4

1 回答 1

0

You have to configure the cobertura plugin in both areas. In the build area to do checkings and in the reporting area as well to get reports like the docs says. Whay not calling mvn site or mvn package ? If you configured it correct it will run as part of the phases.

于 2010-12-09T13:00:11.633 回答