例如:产生错误:
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-clover2-plugin:3.2.0:instrumentInternal (default-cli) on project hpcmom: Execution default-clicould not be resolved: org.apa
我知道我将不得不使用// CLOVER: OFF来关闭三叶草测试覆盖率。我读过// CLOVER: OFF public class SampleClass{ /* * Some definitions但是,我的maven构建失败了,因为它没有达到覆盖率。我在我的项目中使用maven 3.3.9和eclipse Neon。
Recording plot data
Publishing Clover coverage report...Clover xml file does not exist in: /var/lib/jenkins/jobs/New job/workspace called: build/logs/clover.xml'build/coverage/build/logs/clover.xml